From 3ea7f0f0455836ab9cc62c223f1b16730a552749 Mon Sep 17 00:00:00 2001 From: Ehsan Akhgari Date: Tue, 17 Jun 2014 11:03:42 -0400 Subject: [PATCH] Fix the places where we forward declare mozilla::dom::Nullable as a class, no bug, r=I'm-sick-and-tired-of-MSVC-stupidity --- content/html/content/src/HTMLFormControlsCollection.h | 2 +- content/html/document/src/HTMLAllCollection.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/html/content/src/HTMLFormControlsCollection.h b/content/html/content/src/HTMLFormControlsCollection.h index e0e0e05e736f..9a3929c6828a 100644 --- a/content/html/content/src/HTMLFormControlsCollection.h +++ b/content/html/content/src/HTMLFormControlsCollection.h @@ -21,7 +21,7 @@ namespace dom { class HTMLFormElement; class HTMLImageElement; class OwningNodeListOrElement; -template class Nullable; +template struct Nullable; class HTMLFormControlsCollection : public nsIHTMLCollection , public nsWrapperCache diff --git a/content/html/document/src/HTMLAllCollection.h b/content/html/document/src/HTMLAllCollection.h index e876aa419a4b..1464a504104d 100644 --- a/content/html/document/src/HTMLAllCollection.h +++ b/content/html/document/src/HTMLAllCollection.h @@ -27,7 +27,7 @@ class ErrorResult; namespace dom { class OwningNodeOrHTMLCollection; -template class Nullable; +template struct Nullable; class HTMLAllCollection MOZ_FINAL : public nsISupports , public nsWrapperCache