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

Unified Diff: Source/platform/audio/AudioSourceProviderClient.h

Issue 416333002: Introduce AudioSourceProviderClientLockScope. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Patch Set 2 + explicit Created 6 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
« no previous file with comments | « Source/modules/webaudio/MediaElementAudioSourceNode.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/audio/AudioSourceProviderClient.h
diff --git a/Source/platform/audio/AudioSourceProviderClient.h b/Source/platform/audio/AudioSourceProviderClient.h
index 2ef400eca0c416d7e4343045d5a0ab89165c44f0..c6faefaf12c47f3e8da1be831e71cee9c7638a5d 100644
--- a/Source/platform/audio/AudioSourceProviderClient.h
+++ b/Source/platform/audio/AudioSourceProviderClient.h
@@ -32,6 +32,7 @@ namespace blink {
class AudioSourceProviderClient : public WillBeGarbageCollectedMixin {
public:
virtual void setFormat(size_t numberOfChannels, float sampleRate) = 0;
+ // Oilpan: Callers should keep this object alive during lock() and unlock().
virtual void lock() { }
virtual void unlock() { }
virtual void trace(Visitor*) { }
« no previous file with comments | « Source/modules/webaudio/MediaElementAudioSourceNode.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698