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

Unified Diff: third_party/WebKit/Source/core/html/HTMLMediaElement.cpp

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 | « components/test_runner/mock_content_settings_client.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
index e3a78bb44cbccdc095c0df79bc9db5ec86d9d2c7..da3a1b4aa199f57959086950eba49d5cc444e110 100644
--- a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
@@ -3870,7 +3870,7 @@ bool HTMLMediaElement::isAutoplayAllowedPerSettings() const {
if (!frame)
return false;
FrameLoaderClient* frameLoaderClient = frame->loader().client();
- return frameLoaderClient && frameLoaderClient->allowAutoplay(false);
+ return frameLoaderClient && frameLoaderClient->allowAutoplay(true);
}
void HTMLMediaElement::setNetworkState(NetworkState state) {
« no previous file with comments | « components/test_runner/mock_content_settings_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698