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

Unified Diff: third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionary.cpp

Issue 2697543003: Remove ToEventTarget (Closed)
Patch Set: Code review changes 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/tests/results/core/V8TestDictionary.cpp
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionary.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionary.cpp
index 794dd9f5987f529e39d1cf3f9438099e4d8db718..b1dda0b237a5836f5bf1ad68baff4601cccc679b 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionary.cpp
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionary.cpp
@@ -234,7 +234,7 @@ void V8TestDictionary::toImpl(v8::Isolate* isolate, v8::Local<v8::Value> v8Value
if (eventTargetMemberValue.IsEmpty() || eventTargetMemberValue->IsUndefined()) {
// Do nothing.
} else {
- EventTarget* eventTargetMember = toEventTarget(isolate, eventTargetMemberValue);
+ EventTarget* eventTargetMember = V8EventTarget::toImplWithTypeCheck(isolate, eventTargetMemberValue);
if (!eventTargetMember) {
exceptionState.throwTypeError("member eventTargetMember is not of type EventTarget.");
return;

Powered by Google App Engine
This is Rietveld 408576698