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

Unified Diff: Source/modules/webaudio/AudioContext.h

Issue 221243002: Move many calls of lazyInitialize() from AudioContext to AudioNode. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add comment Created 6 years, 9 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 | Source/modules/webaudio/AudioContext.cpp » ('j') | Source/modules/webaudio/AudioContext.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/AudioContext.h
diff --git a/Source/modules/webaudio/AudioContext.h b/Source/modules/webaudio/AudioContext.h
index 5fe579dfa8adf1334405816f859f0b20c6dfdb90..49f02cc935ae0e1ef60b61680197976da36c0ea7 100644
--- a/Source/modules/webaudio/AudioContext.h
+++ b/Source/modules/webaudio/AudioContext.h
@@ -85,6 +85,8 @@ public:
virtual ~AudioContext();
bool isInitialized() const;
+ // This is called on constructor of AudioNode when the first node of context is created except destination node.
Raymond Toy 2014/04/02 17:11:32 I think this comment is slightly wrong because the
KhNo 2014/04/03 13:21:02 Done.
+ void lazyInitialize();
bool isOfflineContext() { return m_isOfflineContext; }
@@ -245,7 +247,6 @@ protected:
private:
void constructCommon();
- void lazyInitialize();
void uninitialize();
// ExecutionContext calls stop twice.
« no previous file with comments | « no previous file | Source/modules/webaudio/AudioContext.cpp » ('j') | Source/modules/webaudio/AudioContext.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698