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

Unified Diff: components/test_runner/mock_content_settings_client.cc

Issue 2681673002: [Blink>Media] Allow autoplay muted on Android by default (Closed)
Patch Set: 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 | « no previous file | third_party/WebKit/Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/mock_content_settings_client.cc
diff --git a/components/test_runner/mock_content_settings_client.cc b/components/test_runner/mock_content_settings_client.cc
index b1dd7be9105bd62d8b1cd6a4c2736a6abab8824f..c9417d940a5504e1d6396f83afc912c0abf08486 100644
--- a/components/test_runner/mock_content_settings_client.cc
+++ b/components/test_runner/mock_content_settings_client.cc
@@ -62,7 +62,7 @@ bool MockContentSettingsClient::allowRunningInsecureContent(
}
bool MockContentSettingsClient::allowAutoplay(bool default_value) {
- return default_value || flags_->autoplay_allowed();
+ return flags_->autoplay_allowed();
}
void MockContentSettingsClient::SetDelegate(WebTestDelegate* delegate) {
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698