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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/V8LazyEventListener.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/V8LazyEventListener.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8LazyEventListener.cpp b/third_party/WebKit/Source/bindings/core/v8/V8LazyEventListener.cpp
index 43aa08208683f9179a7f02596e3f1fed863eefa5..b078f017d23db22985c7eddacd7d88e836cd1665 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8LazyEventListener.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/V8LazyEventListener.cpp
@@ -76,7 +76,7 @@ v8::Local<v8::Object> toObjectWrapper(T* domObject, ScriptState* scriptState)
v8::Local<v8::Value> V8LazyEventListener::callListenerFunction(ScriptState* scriptState, v8::Local<v8::Value> jsEvent, Event* event)
{
ASSERT(!jsEvent.IsEmpty());
- v8::Local<v8::Object> listenerObject = getListenerObject(scriptState->executionContext());
+ v8::Local<v8::Object> listenerObject = getListenerObject(scriptState->getExecutionContext());
if (listenerObject.IsEmpty())
return v8::Local<v8::Value>();
@@ -85,10 +85,10 @@ v8::Local<v8::Value> V8LazyEventListener::callListenerFunction(ScriptState* scri
if (handlerFunction.IsEmpty() || receiver.IsEmpty())
return v8::Local<v8::Value>();
- if (!scriptState->executionContext()->isDocument())
+ if (!scriptState->getExecutionContext()->isDocument())
return v8::Local<v8::Value>();
- LocalFrame* frame = toDocument(scriptState->executionContext())->frame();
+ LocalFrame* frame = toDocument(scriptState->getExecutionContext())->frame();
if (!frame)
return v8::Local<v8::Value>();

Powered by Google App Engine
This is Rietveld 408576698