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

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

Issue 2617733004: binding: Changes the association among global-proxy/global/window-instance. (Closed)
Patch Set: Addressed review comments. Created 3 years, 10 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/V8DOMWrapper.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8DOMWrapper.h b/third_party/WebKit/Source/bindings/core/v8/V8DOMWrapper.h
index 2d4af91ec14f4aa55201d5c80150420a992b2ee1..84b0c6d9f19b765c739e88fed0ca803440f30476 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8DOMWrapper.h
+++ b/third_party/WebKit/Source/bindings/core/v8/V8DOMWrapper.h
@@ -117,7 +117,7 @@ inline v8::Local<v8::Object> V8DOMWrapper::associateObjectWithWrapper(
const WrapperTypeInfo* wrapperTypeInfo,
v8::Local<v8::Object> wrapper) {
if (DOMDataStore::setWrapper(isolate, impl, wrapperTypeInfo, wrapper)) {
- wrapperTypeInfo->wrapperCreated();
+ WrapperTypeInfo::wrapperCreated();
setNativeInfo(isolate, wrapper, wrapperTypeInfo, impl);
ASSERT(hasInternalFieldsSet(wrapper));
}
@@ -131,7 +131,7 @@ inline v8::Local<v8::Object> V8DOMWrapper::associateObjectWithWrapper(
const WrapperTypeInfo* wrapperTypeInfo,
v8::Local<v8::Object> wrapper) {
if (DOMDataStore::setWrapper(isolate, node, wrapperTypeInfo, wrapper)) {
- wrapperTypeInfo->wrapperCreated();
+ WrapperTypeInfo::wrapperCreated();
setNativeInfo(isolate, wrapper, wrapperTypeInfo,
ScriptWrappable::fromNode(node));
ASSERT(hasInternalFieldsSet(wrapper));
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/V8Binding.h ('k') | third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698