зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1578379 - Remove some silly ifdefs. r=bzbarsky
mDummy doesn't even exist anymore. Differential Revision: https://phabricator.services.mozilla.com/D45920 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
97509fc36a
Коммит
b39ed7bca4
|
@ -1312,11 +1312,7 @@ Document::Document(const char* aContentType)
|
|||
mCompatMode(eCompatibility_FullStandards),
|
||||
mReadyState(ReadyState::READYSTATE_UNINITIALIZED),
|
||||
mAncestorIsLoading(false),
|
||||
#ifdef MOZILLA_INTERNAL_API
|
||||
mVisibilityState(dom::VisibilityState::Hidden),
|
||||
#else
|
||||
mDummy(0),
|
||||
#endif
|
||||
mType(eUnknown),
|
||||
mDefaultElementType(0),
|
||||
mAllowXULXBL(eTriUnset),
|
||||
|
|
|
@ -3668,10 +3668,9 @@ class Document : public nsINode,
|
|||
// Checks that the caller is either chrome or some addon.
|
||||
static bool IsCallerChromeOrAddon(JSContext* aCx, JSObject* aObject);
|
||||
|
||||
#ifdef MOZILLA_INTERNAL_API
|
||||
bool Hidden() const { return mVisibilityState != VisibilityState::Visible; }
|
||||
dom::VisibilityState VisibilityState() const { return mVisibilityState; }
|
||||
#endif
|
||||
|
||||
void GetSelectedStyleSheetSet(nsAString& aSheetSet);
|
||||
void SetSelectedStyleSheetSet(const nsAString& aSheetSet);
|
||||
void GetLastStyleSheetSet(nsAString& aSheetSet) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче