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

Unified Diff: Source/modules/webaudio/AudioNode.cpp

Issue 1140723003: Implement suspend() and resume() for OfflineAudioContext (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Bring ToT Created 5 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/AudioNode.h ('k') | Source/modules/webaudio/DeferredTaskHandler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/AudioNode.cpp
diff --git a/Source/modules/webaudio/AudioNode.cpp b/Source/modules/webaudio/AudioNode.cpp
index 2c9582ee482a0e5019b5c8a889cabcc88e9627c0..380ecd040f6aec14f49fbd9472b68c3efca4f5d4 100644
--- a/Source/modules/webaudio/AudioNode.cpp
+++ b/Source/modules/webaudio/AudioNode.cpp
@@ -43,10 +43,10 @@
namespace blink {
AudioHandler::AudioHandler(NodeType nodeType, AudioNode& node, float sampleRate)
- : m_isInitialized(false)
+ : m_context(node.context())
+ , m_isInitialized(false)
, m_nodeType(NodeTypeUnknown)
, m_node(&node)
- , m_context(node.context())
, m_sampleRate(sampleRate)
, m_lastProcessingTime(-1)
, m_lastNonSilentTime(-1)
« no previous file with comments | « Source/modules/webaudio/AudioNode.h ('k') | Source/modules/webaudio/DeferredTaskHandler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698