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

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

Issue 2693893007: binding: Changes the association among global-proxy/global/window-instance (2nd attempt). (Closed)
Patch Set: Fixed a typo in DOMWrapperWorld::DissociateDOMWindowWrappersInAllWorlds. Created 3 years, 8 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/ToV8ForCore.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/ToV8ForCore.h b/third_party/WebKit/Source/bindings/core/v8/ToV8ForCore.h
index a41ba2c3033e4326a6e5694f5255590fe4e78e7b..cb3fed423df35e670b8659c79b318c45d63c67e4 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ToV8ForCore.h
+++ b/third_party/WebKit/Source/bindings/core/v8/ToV8ForCore.h
@@ -8,35 +8,13 @@
// ToV8() provides C++ -> V8 conversion. Note that ToV8() can return an empty
// handle. Call sites must check IsEmpty() before using return value.
-#include "bindings/core/v8/ScriptWrappable.h"
#include "bindings/core/v8/ToV8.h"
-#include "core/CoreExport.h"
#include "core/dom/NotShared.h"
#include "v8/include/v8.h"
namespace blink {
-class DOMWindow;
class Dictionary;
-class EventTarget;
-class Node;
-
-inline v8::Local<v8::Value> ToV8(Node* impl,
- v8::Local<v8::Object> creation_context,
- v8::Isolate* isolate) {
- return ToV8(ScriptWrappable::FromNode(impl), creation_context, isolate);
-}
-
-// Special versions for DOMWindow and EventTarget
-
-CORE_EXPORT v8::Local<v8::Value> ToV8(DOMWindow*,
- v8::Local<v8::Object> creation_context,
- v8::Isolate*);
-CORE_EXPORT v8::Local<v8::Value> ToV8(EventTarget*,
- v8::Local<v8::Object> creation_context,
- v8::Isolate*);
-
-// Dictionary
inline v8::Local<v8::Value> ToV8(const Dictionary& value,
v8::Local<v8::Object> creation_context,

Powered by Google App Engine
This is Rietveld 408576698