Forward declare mozilla::dom::Nullable as a struct everywhere so that the MSVC linker can pick up the correct symbol name

This is needed for bug 848294
This commit is contained in:
Ehsan Akhgari 2013-09-09 11:43:52 +02:00
parent 1af32574cc
commit 8ef7475ec7
2 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ class ImageData;
struct WebGLContextAttributes;
struct WebGLContextAttributesInitializer;
template<typename> class Nullable;
template<typename> struct Nullable;
}
using WebGLTexelConversions::WebGLTexelFormat;

View File

@ -22,7 +22,7 @@ namespace dom {
class EventListener;
class EventHandlerNonNull;
template <class T> class Nullable;
template <class T> struct Nullable;
// IID for the dom::EventTarget interface
#define NS_EVENTTARGET_IID \