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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/V8Initializer.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/V8Initializer.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp b/third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp
index 42cd4c8af52b6fa3dbf4a17735dc7675e53f3817..0ae6702999d2241f808356f254abba635b0183fc 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp
@@ -232,8 +232,8 @@ static void promiseRejectHandler(v8::PromiseRejectMessage data,
// DOMException).
ASSERT(exception->IsObject());
auto privateError = V8PrivateProperty::getDOMExceptionError(isolate);
- v8::Local<v8::Value> error = privateError.getOrUndefined(
- scriptState->context(), exception.As<v8::Object>());
+ v8::Local<v8::Value> error =
+ privateError.getOrUndefined(exception.As<v8::Object>());
if (!error->IsUndefined())
exception = error;
}

Powered by Google App Engine
This is Rietveld 408576698