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

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

Issue 2785943002: [Bindings] Simplify V8PrivateProperty::Symbol methods (Closed)
Patch Set: work for comments Created 3 years, 9 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/V8ThrowException.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8ThrowException.cpp b/third_party/WebKit/Source/bindings/core/v8/V8ThrowException.cpp
index ff4ee1c6f64856f3042472501f81770325236a24..a2722d0f213d59370bd81a3b2d1d2871089b763c 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8ThrowException.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/V8ThrowException.cpp
@@ -97,7 +97,7 @@ v8::Local<v8::Value> V8ThrowException::createDOMException(
.ToChecked();
auto privateError = V8PrivateProperty::getDOMExceptionError(isolate);
- privateError.set(isolate->GetCurrentContext(), exceptionObj, error);
+ privateError.set(exceptionObj, error);
return exceptionObj;
}

Powered by Google App Engine
This is Rietveld 408576698