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

Unified Diff: third_party/WebKit/Source/core/events/EventTarget.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/events/EventTarget.cpp
diff --git a/third_party/WebKit/Source/core/events/EventTarget.cpp b/third_party/WebKit/Source/core/events/EventTarget.cpp
index 4bb9aaad9d3665d426cebccc9b37b8691f4b0453..82e2d268572449efcf23c675d25fce305a3013ed 100644
--- a/third_party/WebKit/Source/core/events/EventTarget.cpp
+++ b/third_party/WebKit/Source/core/events/EventTarget.cpp
@@ -113,7 +113,7 @@ MessagePort* EventTarget::toMessagePort()
inline LocalDOMWindow* EventTarget::executingWindow()
{
- if (ExecutionContext* context = executionContext())
+ if (ExecutionContext* context = getExecutionContext())
return context->executingWindow();
return nullptr;
}
@@ -260,7 +260,7 @@ bool EventTarget::dispatchEventForBindings(PassRefPtrWillBeRawPtr<Event> event,
return false;
}
- if (!executionContext())
+ if (!getExecutionContext())
return false;
event->setTrusted(false);
@@ -377,7 +377,7 @@ DispatchEventResult EventTarget::fireEventListeners(Event* event)
event->setType(unprefixedTypeName);
}
- Editor::countEvent(executionContext(), event);
+ Editor::countEvent(getExecutionContext(), event);
countLegacyEvents(legacyTypeName, listenersVector, legacyListenersVector);
return dispatchEventResult(*event);
}
@@ -435,7 +435,7 @@ void EventTarget::fireEventListeners(Event* event, EventTargetData* d, EventList
if (event->immediatePropagationStopped())
break;
- ExecutionContext* context = executionContext();
+ ExecutionContext* context = getExecutionContext();
if (!context)
break;
« no previous file with comments | « third_party/WebKit/Source/core/events/EventTarget.h ('k') | third_party/WebKit/Source/core/fetch/FetchContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698