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() { |