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

Unified Diff: third_party/WebKit/Source/modules/mediastream/MediaDevicesRequest.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/modules/mediastream/MediaDevicesRequest.cpp
diff --git a/third_party/WebKit/Source/modules/mediastream/MediaDevicesRequest.cpp b/third_party/WebKit/Source/modules/mediastream/MediaDevicesRequest.cpp
index 112d49387d54aa8b33939ef4291f7a2a00c87cce..20b61f0dd85197c0dd33d64b89bd3763dc7fe7ab 100644
--- a/third_party/WebKit/Source/modules/mediastream/MediaDevicesRequest.cpp
+++ b/third_party/WebKit/Source/modules/mediastream/MediaDevicesRequest.cpp
@@ -42,7 +42,7 @@ MediaDevicesRequest* MediaDevicesRequest::create(ScriptState* state, UserMediaCo
}
MediaDevicesRequest::MediaDevicesRequest(ScriptState* state, UserMediaController* controller)
- : ActiveDOMObject(state->executionContext())
+ : ActiveDOMObject(state->getExecutionContext())
, m_controller(controller)
, m_resolver(ScriptPromiseResolver::create(state))
{
@@ -54,7 +54,7 @@ MediaDevicesRequest::~MediaDevicesRequest()
Document* MediaDevicesRequest::ownerDocument()
{
- if (ExecutionContext* context = executionContext()) {
+ if (ExecutionContext* context = getExecutionContext()) {
return toDocument(context);
}
@@ -71,7 +71,7 @@ ScriptPromise MediaDevicesRequest::start()
void MediaDevicesRequest::succeed(const MediaDeviceInfoVector& mediaDevices)
{
- if (!executionContext() || !m_resolver)
+ if (!getExecutionContext() || !m_resolver)
return;
m_resolver->resolve(mediaDevices);

Powered by Google App Engine
This is Rietveld 408576698