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

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

Issue 2542123002: binding: Removes Document::wrap that must be equivalent to Node::wrap. (2nd try) (Closed)
Patch Set: clang-formatted. Created 4 years 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 efcc80b58f8e32f373c696992233feea32de09d0..be291f718a6c2de8cbf9eccbd7e99b79fa3866f7 100644
--- a/third_party/WebKit/Source/bindings/core/v8/WindowProxy.h
+++ b/third_party/WebKit/Source/bindings/core/v8/WindowProxy.h
@@ -44,6 +44,7 @@
namespace blink {
+class Document;
class Frame;
class HTMLDocument;
class SecurityOrigin;
@@ -116,12 +117,13 @@ class WindowProxy final : public GarbageCollectedFinalized<WindowProxy> {
// DOMWindow object. Also does some more Window-specific initialization.
bool setupWindowPrototypeChain();
+ void checkDocumentWrapper(v8::Local<v8::Object> wrapper, Document*) const;
+
Member<Frame> m_frame;
v8::Isolate* m_isolate;
RefPtr<ScriptState> m_scriptState;
RefPtr<DOMWrapperWorld> m_world;
ScopedPersistent<v8::Object> m_globalProxy;
- ScopedPersistent<v8::Object> m_document;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698