Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Unified Diff: third_party/WebKit/Source/bindings/core/v8/WindowProxy.h

Issue 2392843002: Remove WindowProxy::isGlobalInitialized(). (DO NOT COMMIT YET) (Closed)
Patch Set: . Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/bindings/core/v8/WindowProxy.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/WindowProxy.h b/third_party/WebKit/Source/bindings/core/v8/WindowProxy.h
index d6a209151fd4df3355d3dec0e5e9701a6bc6acbd..b2d924f8de24f5cafd88863b63f4e46eb358c6a7 100644
--- a/third_party/WebKit/Source/bindings/core/v8/WindowProxy.h
+++ b/third_party/WebKit/Source/bindings/core/v8/WindowProxy.h
@@ -34,6 +34,7 @@
#include "bindings/core/v8/DOMWrapperWorld.h"
#include "bindings/core/v8/ScopedPersistent.h"
#include "bindings/core/v8/ScriptState.h"
+#include "core/CoreExport.h"
#include "platform/heap/Handle.h"
#include "platform/weborigin/SecurityOrigin.h"
#include "wtf/HashMap.h"
@@ -75,9 +76,8 @@ class WindowProxy final : public GarbageCollectedFinalized<WindowProxy> {
bool isContextInitialized() {
return m_scriptState && !!m_scriptState->perContextData();
}
- bool isGlobalInitialized() { return !m_global.isEmpty(); }
- bool initializeIfNeeded();
+ CORE_EXPORT bool initializeIfNeeded();
void updateDocumentWrapper(v8::Local<v8::Object> wrapper);
void clearForNavigation();

Powered by Google App Engine
This is Rietveld 408576698