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

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

Issue 2873493004: [Media Controls] Prevent flicker when enter/exit fullscreen (Closed)
Patch Set: Add virtual/new-remote-playback-pipeline variants to SlowTests Created 3 years, 7 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
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 ae052f1145fda99129cf8ee7b929dbc64a9aae32..06b542b35315441d29edc68e7cd91fa9824c0c6f 100644
--- a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
@@ -3687,7 +3687,7 @@ void HTMLMediaElement::UpdateControlsVisibility() {
GetMediaControls()->Reset();
if (ShouldShowControls(RecordMetricsBehavior::kDoRecord))
- GetMediaControls()->Show();
+ GetMediaControls()->MaybeShow();
else
GetMediaControls()->Hide();
}

Powered by Google App Engine
This is Rietveld 408576698