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

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

Issue 297313003: Initialize AudioContext on constructor to increase currentTime in real-time. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove layout test Created 6 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 | « LayoutTests/webaudio/audiocontext-max-contexts.html ('k') | Source/modules/webaudio/AudioContext.cpp » ('j') | no next file with comments »
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 7b0aec2d5b0bf7ed237d21ba554a24ea0de60a20..3e64594fb3c7992c03c8b9f2ea849145344ab9c4 100644
--- a/Source/modules/webaudio/AudioContext.h
+++ b/Source/modules/webaudio/AudioContext.h
@@ -85,9 +85,6 @@ public:
virtual void trace(Visitor*);
bool isInitialized() const;
- // The constructor of an AudioNode must call this to initialize the context.
- void lazyInitialize();
-
bool isOfflineContext() { return m_isOfflineContext; }
// Document notification
@@ -242,6 +239,7 @@ protected:
private:
void constructCommon();
+ void initialize();
void uninitialize();
// ExecutionContext calls stop twice.
« no previous file with comments | « LayoutTests/webaudio/audiocontext-max-contexts.html ('k') | Source/modules/webaudio/AudioContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698