mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 877510: Undefine GetClassInfo in nsHTMLFormElement.h, in case someone #including us also #included a windows header that stupidly defined it to something else. r=smaug
This commit is contained in:
parent
8c49bb4fbe
commit
a32115ff8b
@ -21,6 +21,13 @@
|
||||
#include "nsDataHashtable.h"
|
||||
#include "nsAsyncDOMEvent.h"
|
||||
|
||||
// Including 'windows.h' will #define GetClassInfo to something else.
|
||||
#ifdef XP_WIN
|
||||
#ifdef GetClassInfo
|
||||
#undef GetClassInfo
|
||||
#endif
|
||||
#endif
|
||||
|
||||
class nsFormControlList;
|
||||
class nsIMutableArray;
|
||||
class nsIURI;
|
||||
@ -219,8 +226,7 @@ public:
|
||||
*/
|
||||
bool CheckValidFormSubmission();
|
||||
|
||||
// XXXdholbert This should be MOZ_OVERRIDE, or maybe dropped (see bug 877510)
|
||||
virtual nsXPCClassInfo* GetClassInfo();
|
||||
virtual nsXPCClassInfo* GetClassInfo() MOZ_OVERRIDE;
|
||||
|
||||
virtual nsIDOMNode* AsDOMNode() MOZ_OVERRIDE { return this; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user