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

Unified Diff: content/shell/renderer/layout_test/layout_test_content_renderer_client.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: content/shell/renderer/layout_test/layout_test_content_renderer_client.cc
diff --git a/content/shell/renderer/layout_test/layout_test_content_renderer_client.cc b/content/shell/renderer/layout_test/layout_test_content_renderer_client.cc
index 8b5860f46c7290d8d70b8bfe986378319282518c..3487b8a480fa573266ad099dcb192b7eeb72fb9f 100644
--- a/content/shell/renderer/layout_test/layout_test_content_renderer_client.cc
+++ b/content/shell/renderer/layout_test/layout_test_content_renderer_client.cc
@@ -194,12 +194,12 @@ LayoutTestContentRendererClient::OverrideCreateMIDIAccessor(
return interfaces->CreateMIDIAccessor(client);
}
-WebAudioDevice*
-LayoutTestContentRendererClient::OverrideCreateAudioDevice(
- double sample_rate) {
+WebAudioDevice* LayoutTestContentRendererClient::OverrideCreateAudioDevice(
+ double sample_rate,
+ int frames_per_buffer) {
test_runner::WebTestInterfaces* interfaces =
LayoutTestRenderThreadObserver::GetInstance()->test_interfaces();
- return interfaces->CreateAudioDevice(sample_rate);
+ return interfaces->CreateAudioDevice(sample_rate, frames_per_buffer);
}
WebClipboard* LayoutTestContentRendererClient::OverrideWebClipboard() {

Powered by Google App Engine
This is Rietveld 408576698