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

Unified Diff: content/shell/renderer/layout_test/layout_test_content_renderer_client.cc

Issue 2501863003: Support for AudioContextOptions latencyHint. (Closed)
Patch Set: Updates 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..d46a3e1b3dd424a5fe97b98624161aed3f3cfcbb 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,10 @@ LayoutTestContentRendererClient::OverrideCreateMIDIAccessor(
return interfaces->CreateMIDIAccessor(client);
}
-WebAudioDevice*
-LayoutTestContentRendererClient::OverrideCreateAudioDevice(
- double sample_rate) {
+WebAudioDevice* LayoutTestContentRendererClient::OverrideCreateAudioDevice() {
test_runner::WebTestInterfaces* interfaces =
LayoutTestRenderThreadObserver::GetInstance()->test_interfaces();
- return interfaces->CreateAudioDevice(sample_rate);
+ return interfaces->CreateAudioDevice(44100, 128);
}
WebClipboard* LayoutTestContentRendererClient::OverrideWebClipboard() {

Powered by Google App Engine
This is Rietveld 408576698