OfflineAudioContext does not validate allocation of destination buffer
[WebKit-https.git] / Source / WebCore / Modules / webaudio / AudioContext.h
index 0c45ad5..e466f45 100644 (file)
@@ -296,7 +296,7 @@ public:
 
 protected:
     explicit AudioContext(Document&);
 
 protected:
     explicit AudioContext(Document&);
-    AudioContext(Document&, unsigned numberOfChannels, size_t numberOfFrames, float sampleRate);
+    AudioContext(Document&, AudioBuffer* renderTarget);
     
     static bool isSampleRateRangeGood(float sampleRate);
     void clearPendingActivity();
     
     static bool isSampleRateRangeGood(float sampleRate);
     void clearPendingActivity();