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

Unified Diff: components/test_runner/web_test_interfaces.cc

Issue 2501863003: Support for AudioContextOptions latencyHint. (Closed)
Patch Set: Fixes to WebAudioDeviceImpl unit test. Created 3 years, 10 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 | « components/test_runner/web_test_interfaces.h ('k') | content/public/renderer/content_renderer_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(
« no previous file with comments | « components/test_runner/web_test_interfaces.h ('k') | content/public/renderer/content_renderer_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698