Bug 1443966: Add missing include for nsIContent::IsInChromeDocument. r?dholbert
Also mark the function properly as inline.
MozReview-Commit-ID: GJDVLsyfuLN
--- a/dom/base/nsIContent.h
+++ b/dom/base/nsIContent.h
@@ -259,17 +259,17 @@ public:
* the term, i.e. not in an XHTML/XML document).
*/
inline bool IsInHTMLDocument() const;
/**
* Returns true if in a chrome document
*/
- bool IsInChromeDocument() const;
+ inline bool IsInChromeDocument() const;
/**
* Get the namespace that this element's tag is defined in
* @return the namespace
*/
inline int32_t GetNameSpaceID() const
{
return mNodeInfo->NamespaceID();
--- a/widget/windows/nsNativeThemeWin.cpp
+++ b/widget/windows/nsNativeThemeWin.cpp
@@ -11,16 +11,17 @@
#include "nsDeviceContext.h"
#include "nsRect.h"
#include "nsSize.h"
#include "nsTransform2D.h"
#include "nsThemeConstants.h"
#include "nsIPresShell.h"
#include "nsPresContext.h"
#include "nsIContent.h"
+#include "nsIContentInlines.h"
#include "nsIFrame.h"
#include "nsNameSpaceManager.h"
#include "nsLookAndFeel.h"
#include "nsMenuFrame.h"
#include "nsGkAtoms.h"
#include <malloc.h>
#include "nsWindow.h"
#include "nsIComboboxControlFrame.h"