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

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

Issue 1405413004: Implement suspend() and resume() for OfflineAudioContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updating UseCounter.h after L-G-T-M Created 5 years, 1 month 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/AudioNode.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioNode.cpp b/third_party/WebKit/Source/modules/webaudio/AudioNode.cpp
index ccd7d3b61a13a36589e8a9f0068ca2ea1b58270a..c00b9596725bd06a013eeedb253cabd9998ed8c4 100644
--- a/third_party/WebKit/Source/modules/webaudio/AudioNode.cpp
+++ b/third_party/WebKit/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)

Powered by Google App Engine
This is Rietveld 408576698