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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/V8EventListener.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/V8EventListener.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8EventListener.cpp b/third_party/WebKit/Source/bindings/core/v8/V8EventListener.cpp
index 4d68a936bdc9ce98997a7b736a737b02cbe71a32..95c22fbd43786fd59cac35f84624bf02dec0ad96 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8EventListener.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/V8EventListener.cpp
@@ -44,7 +44,7 @@ V8EventListener::V8EventListener(bool isAttribute, ScriptState* scriptState)
v8::Local<v8::Function> V8EventListener::getListenerFunction(ScriptState* scriptState)
{
- v8::Local<v8::Object> listener = getListenerObject(scriptState->executionContext());
+ v8::Local<v8::Object> listener = getListenerObject(scriptState->getExecutionContext());
// Has the listener been disposed?
if (listener.IsEmpty())
@@ -79,10 +79,10 @@ v8::Local<v8::Value> V8EventListener::callListenerFunction(ScriptState* scriptSt
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