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

Unified Diff: third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.h

Issue 1865583002: Implement BaseAudioContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/DeferredTaskHandler.h
diff --git a/third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.h b/third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.h
index e5dd672ae60e6bd47c77958fa03613dbea4bf258..13a0086e5236c96b655b7a274bd9a6f5f0879d5e 100644
--- a/third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.h
+++ b/third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.h
@@ -38,7 +38,7 @@
namespace blink {
-class AbstractAudioContext;
+class BaseAudioContext;
class OfflineAudioContext;
class AudioHandler;
class AudioNodeOutput;
@@ -46,15 +46,15 @@ class AudioSummingJunction;
// DeferredTaskHandler manages the major part of pre- and post- rendering tasks,
// and provides a lock mechanism against the audio rendering graph. A
-// DeferredTaskHandler object is created when an AbstractAudioContext object is created.
+// DeferredTaskHandler object is created when an BaseAudioContext object is created.
//
-// DeferredTaskHandler outlives the AbstractAudioContext only if all of the following
+// DeferredTaskHandler outlives the BaseAudioContext only if all of the following
// conditions match:
// - An audio rendering thread is running,
// - It is requested to stop,
// - The audio rendering thread calls requestToDeleteHandlersOnMainThread(),
// - It posts a task of deleteHandlersOnMainThread(), and
-// - GC happens and it collects the AbstractAudioContext before the task execution.
+// - GC happens and it collects the BaseAudioContext before the task execution.
//
class MODULES_EXPORT DeferredTaskHandler final : public ThreadSafeRefCounted<DeferredTaskHandler> {
public:
@@ -64,7 +64,7 @@ public:
void handleDeferredTasks();
void contextWillBeDestroyed();
- // AbstractAudioContext can pull node(s) at the end of each render quantum even when
+ // BaseAudioContext can pull node(s) at the end of each render quantum even when
// they are not connected to any downstream nodes. These two methods are
// called by the nodes who want to add/remove themselves into/from the
// automatic pull lists.
@@ -130,7 +130,7 @@ public:
{
m_handler.lock();
}
- explicit AutoLocker(AbstractAudioContext*);
+ explicit AutoLocker(BaseAudioContext*);
~AutoLocker() { m_handler.unlock(); }

Powered by Google App Engine
This is Rietveld 408576698