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

Unified Diff: third_party/WebKit/Source/modules/webaudio/AudioContext.cpp

Issue 2103043007: Rename AbstractAudioContext to BaseAudioContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use ASSERT(isGraphOwner()) instead of DCHECK Created 4 years, 5 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/AudioContext.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioContext.cpp b/third_party/WebKit/Source/modules/webaudio/AudioContext.cpp
index f7cc9c928a7f3b814c40749e345b535337eaaf75..4ab3c6e26463184de0d595e327514d674b0668bc 100644
--- a/third_party/WebKit/Source/modules/webaudio/AudioContext.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/AudioContext.cpp
@@ -25,7 +25,7 @@ const unsigned MaxHardwareContexts = 6;
static unsigned s_hardwareContextCount = 0;
static unsigned s_contextId = 0;
-AbstractAudioContext* AudioContext::create(Document& document, ExceptionState& exceptionState)
+BaseAudioContext* AudioContext::create(Document& document, ExceptionState& exceptionState)
{
ASSERT(isMainThread());
if (s_hardwareContextCount >= MaxHardwareContexts) {
@@ -78,7 +78,7 @@ AbstractAudioContext* AudioContext::create(Document& document, ExceptionState& e
}
AudioContext::AudioContext(Document& document)
- : AbstractAudioContext(&document)
+ : BaseAudioContext(&document)
, m_contextId(s_contextId++)
{
}
@@ -93,7 +93,7 @@ AudioContext::~AudioContext()
DEFINE_TRACE(AudioContext)
{
visitor->trace(m_closeResolver);
- AbstractAudioContext::trace(visitor);
+ BaseAudioContext::trace(visitor);
}
ScriptPromise AudioContext::suspendContext(ScriptState* scriptState)
@@ -192,7 +192,7 @@ void AudioContext::didClose()
bool AudioContext::isContextClosed() const
{
- return m_closeResolver || AbstractAudioContext::isContextClosed();
+ return m_closeResolver || BaseAudioContext::isContextClosed();
}
void AudioContext::stopRendering()
« no previous file with comments | « third_party/WebKit/Source/modules/webaudio/AudioContext.h ('k') | third_party/WebKit/Source/modules/webaudio/AudioContext.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698