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

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

Issue 1773813007: blink: Rename modules/ method to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-modules: rebase-fixes Created 4 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 ddf9a44c49decaa03469ada87569e2affff16148..e6327a1a927eee0b2294f606599dadd6998b941a 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp
@@ -280,7 +280,7 @@ static void promiseRejectHandlerInWorker(v8::PromiseRejectMessage data)
if (!scriptState->contextIsValid())
return;
- ExecutionContext* executionContext = scriptState->executionContext();
+ ExecutionContext* executionContext = scriptState->getExecutionContext();
if (!executionContext)
return;
@@ -410,7 +410,7 @@ static void messageHandlerInWorker(v8::Local<v8::Message> message, v8::Local<v8:
ScriptState* scriptState = ScriptState::current(isolate);
// During the frame teardown, there may not be a valid context.
- if (ExecutionContext* context = scriptState->executionContext()) {
+ if (ExecutionContext* context = scriptState->getExecutionContext()) {
String errorMessage = toCoreStringWithNullCheck(message->Get());
TOSTRING_VOID(V8StringResource<>, sourceURL, message->GetScriptOrigin().ResourceName());
int scriptId = 0;

Powered by Google App Engine
This is Rietveld 408576698