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

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

Issue 2200303003: Remove v8CallOrCrash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: temp Created 4 years, 4 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/custom/V8HTMLElementCustom.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLElementCustom.cpp b/third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLElementCustom.cpp
index 1a810a9c7ef0febf748a04a2af890c4de3d93a15..1c6d41ae67e678246577010cb6dcfa4bccd9fb02 100644
--- a/third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLElementCustom.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLElementCustom.cpp
@@ -90,9 +90,7 @@ void V8HTMLElement::constructorCustom(
// instead.
v8SetReturnValue(info, wrapper);
- v8CallOrCrash(wrapper->SetPrototype(
- scriptState->context(),
- definition->prototype()));
+ wrapper->SetPrototype(scriptState->context(), definition->prototype()).ToChecked();
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698