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

Unified Diff: components/test_runner/web_test_interfaces.cc

Issue 2501863003: Support for AudioContextOptions latencyHint. (Closed)
Patch Set: More fixes based on reviewer comments. Created 4 years 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: components/test_runner/web_test_interfaces.cc
diff --git a/components/test_runner/web_test_interfaces.cc b/components/test_runner/web_test_interfaces.cc
index c320100ebc5733069130e8bfb2f4955a950a49ac..d7251ff3b95475a0563cd46c814e6aeeb6435f30 100644
--- a/components/test_runner/web_test_interfaces.cc
+++ b/components/test_runner/web_test_interfaces.cc
@@ -78,8 +78,9 @@ WebMIDIAccessor* WebTestInterfaces::CreateMIDIAccessor(
return new MockWebMIDIAccessor(client, interfaces_.get());
}
-WebAudioDevice* WebTestInterfaces::CreateAudioDevice(double sample_rate) {
- return new MockWebAudioDevice(sample_rate);
+WebAudioDevice* WebTestInterfaces::CreateAudioDevice(double sample_rate,
+ int frames_per_buffer) {
+ return new MockWebAudioDevice(sample_rate, frames_per_buffer);
}
std::unique_ptr<WebFrameTestClient> WebTestInterfaces::CreateWebFrameTestClient(

Powered by Google App Engine
This is Rietveld 408576698