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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/custom/V8MutationObserverCustom.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/V8MutationObserverCustom.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/custom/V8MutationObserverCustom.cpp b/third_party/WebKit/Source/bindings/core/v8/custom/V8MutationObserverCustom.cpp
index c91e16f6a445796f88be362be5c523167f7c4807..479d7113d19ea11db333c49b15538dc80ef9f29e 100644
--- a/third_party/WebKit/Source/bindings/core/v8/custom/V8MutationObserverCustom.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8MutationObserverCustom.cpp
@@ -43,9 +43,9 @@ namespace blink {
void V8MutationObserver::constructorCustom(
const v8::FunctionCallbackInfo<v8::Value>& info) {
- ExceptionState exceptionState(ExceptionState::ConstructionContext,
- "MutationObserver", info.Holder(),
- info.GetIsolate());
+ ExceptionState exceptionState(info.GetIsolate(),
+ ExceptionState::ConstructionContext,
+ "MutationObserver");
if (info.Length() < 1) {
exceptionState.throwTypeError(
ExceptionMessages::notEnoughArguments(1, info.Length()));

Powered by Google App Engine
This is Rietveld 408576698