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

Unified Diff: third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.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/webaudio/AbstractAudioContext.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.cpp b/third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.cpp
index 4762dad040e95399f3cb189977fce9716d5aa8db..77e33cf658ad7fc9eb381c2fee5ec7012ebe62d4 100644
--- a/third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.cpp
@@ -746,8 +746,8 @@ void AbstractAudioContext::setContextState(AudioContextState newState)
m_contextState = newState;
// Notify context that state changed
- if (executionContext())
- executionContext()->postTask(BLINK_FROM_HERE, createSameThreadTask(&AbstractAudioContext::notifyStateChange, this));
+ if (getExecutionContext())
+ getExecutionContext()->postTask(BLINK_FROM_HERE, createSameThreadTask(&AbstractAudioContext::notifyStateChange, this));
}
void AbstractAudioContext::notifyStateChange()
@@ -904,9 +904,9 @@ const AtomicString& AbstractAudioContext::interfaceName() const
return EventTargetNames::AudioContext;
}
-ExecutionContext* AbstractAudioContext::executionContext() const
+ExecutionContext* AbstractAudioContext::getExecutionContext() const
{
- return ActiveDOMObject::executionContext();
+ return ActiveDOMObject::getExecutionContext();
}
void AbstractAudioContext::startRendering()
@@ -944,10 +944,10 @@ DEFINE_TRACE(AbstractAudioContext)
ActiveDOMObject::trace(visitor);
}
-SecurityOrigin* AbstractAudioContext::securityOrigin() const
+SecurityOrigin* AbstractAudioContext::getSecurityOrigin() const
{
- if (executionContext())
- return executionContext()->securityOrigin();
+ if (getExecutionContext())
+ return getExecutionContext()->getSecurityOrigin();
return nullptr;
}

Powered by Google App Engine
This is Rietveld 408576698