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

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

Issue 2017923002: Unbreak release component builds on Windows after https://codereview.chromium.org/2014343002/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: hmm2 Created 4 years, 7 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 | « no previous file | third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.h
diff --git a/third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.h b/third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.h
index 03410b5aab773e8bea80cd4db4324ff794176575..53c158fbf02b32cbf9f524272e9b02c81b760289 100644
--- a/third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.h
+++ b/third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.h
@@ -232,8 +232,10 @@ public:
void lock() { deferredTaskHandler().lock(); }
bool tryLock() { return deferredTaskHandler().tryLock(); }
void unlock() { deferredTaskHandler().unlock(); }
+#if ENABLE(ASSERT)
// Returns true if this thread owns the context's lock.
bool isGraphOwner() { return deferredTaskHandler().isGraphOwner(); }
+#endif
using AutoLocker = DeferredTaskHandler::AutoLocker;
// Returns the maximum numuber of channels we can support.
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698