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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/DictionaryHelperForCore.cpp

Issue 2683993003: Move toEventTarget to EventTarget (Closed)
Patch Set: Format, remove header 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/DictionaryHelperForCore.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/DictionaryHelperForCore.cpp b/third_party/WebKit/Source/bindings/core/v8/DictionaryHelperForCore.cpp
index 0a60f975f2533c68861550340788ef2aa34734e5..1a706de64c72651bed95b86ee0a4c0aae47adede 100644
--- a/third_party/WebKit/Source/bindings/core/v8/DictionaryHelperForCore.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/DictionaryHelperForCore.cpp
@@ -244,14 +244,14 @@ bool DictionaryHelper::get(const Dictionary& dictionary,
v8::Local<v8::Object> window =
V8Window::findInstanceInPrototypeChain(wrapper, dictionary.isolate());
if (!window.IsEmpty()) {
- value = toWrapperTypeInfo(window)->toEventTarget(window);
+ value = EventTarget::toEventTarget(window);
return true;
}
}
if (V8DOMWrapper::isWrapper(dictionary.isolate(), v8Value)) {
v8::Local<v8::Object> wrapper = v8::Local<v8::Object>::Cast(v8Value);
- value = toWrapperTypeInfo(wrapper)->toEventTarget(wrapper);
+ value = EventTarget::toEventTarget(wrapper);
}
return true;
}

Powered by Google App Engine
This is Rietveld 408576698