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

Unified Diff: third_party/WebKit/Source/core/testing/v8/WebCoreTestSupport.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/core/testing/v8/WebCoreTestSupport.cpp
diff --git a/third_party/WebKit/Source/core/testing/v8/WebCoreTestSupport.cpp b/third_party/WebKit/Source/core/testing/v8/WebCoreTestSupport.cpp
index 31c543700cd96ef3000129a304b8cae045bd9fb0..7b225b9fe93d9fae92f45d91626d2661f61c5cdf 100644
--- a/third_party/WebKit/Source/core/testing/v8/WebCoreTestSupport.cpp
+++ b/third_party/WebKit/Source/core/testing/v8/WebCoreTestSupport.cpp
@@ -40,7 +40,7 @@ v8::Local<v8::Value> createInternalsObject(v8::Local<v8::Context> context)
{
ScriptState* scriptState = ScriptState::from(context);
v8::Local<v8::Object> global = scriptState->context()->Global();
- ExecutionContext* executionContext = scriptState->executionContext();
+ ExecutionContext* executionContext = scriptState->getExecutionContext();
if (executionContext->isDocument())
return toV8(Internals::create(scriptState), global, scriptState->isolate());
return v8::Local<v8::Value>();
@@ -65,7 +65,7 @@ void resetInternalsObject(v8::Local<v8::Context> context)
ScriptState* scriptState = ScriptState::from(context);
ScriptState::Scope scope(scriptState);
- Document* document = toDocument(scriptState->executionContext());
+ Document* document = toDocument(scriptState->getExecutionContext());
ASSERT(document);
LocalFrame* frame = document->frame();
// Should the document have been detached, the page is assumed being destroyed (=> no reset required.)
« no previous file with comments | « third_party/WebKit/Source/core/testing/NullExecutionContext.h ('k') | third_party/WebKit/Source/core/timing/Performance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698