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

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

Issue 2566823002: Remove deprecated ExceptionState constructors. (Closed)
Patch Set: Created 4 years 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/V8CustomEventCustom.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/custom/V8CustomEventCustom.cpp b/third_party/WebKit/Source/bindings/core/v8/custom/V8CustomEventCustom.cpp
index c7dbf21817a93472ba56a9501ff032a3d0014000..6f10be994a901f249eec7be1640217eeef29b699 100644
--- a/third_party/WebKit/Source/bindings/core/v8/custom/V8CustomEventCustom.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8CustomEventCustom.cpp
@@ -63,9 +63,8 @@ static void storeDetail(ScriptState* scriptState,
void V8CustomEvent::constructorCustom(
const v8::FunctionCallbackInfo<v8::Value>& info) {
- ExceptionState exceptionState(ExceptionState::ConstructionContext,
- "CustomEvent", info.Holder(),
- info.GetIsolate());
+ ExceptionState exceptionState(
+ info.GetIsolate(), ExceptionState::ConstructionContext, "CustomEvent");
if (UNLIKELY(info.Length() < 1)) {
exceptionState.throwTypeError(
ExceptionMessages::notEnoughArguments(1, info.Length()));

Powered by Google App Engine
This is Rietveld 408576698