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

Unified Diff: content/renderer/media/webmediaplayer_ms.cc

Issue 2339983007: Set WebMediaPlayer as an opaque layer (Closed)
Patch Set: Created 4 years, 3 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/webmediaplayer_ms.cc
diff --git a/content/renderer/media/webmediaplayer_ms.cc b/content/renderer/media/webmediaplayer_ms.cc
index e60ae7681397c8591fd5c658d492284fa38547cb..68a48e26ad7230075f27667806cb7cbb0e9c4fc4 100644
--- a/content/renderer/media/webmediaplayer_ms.cc
+++ b/content/renderer/media/webmediaplayer_ms.cc
@@ -509,7 +509,7 @@ void WebMediaPlayerMS::OnFrameAvailable(
video_weblayer_.reset(new cc_blink::WebLayerImpl(
cc::VideoLayer::Create(compositor_.get(), video_rotation_)));
- video_weblayer_->layer()->SetContentsOpaque(false);
+ video_weblayer_->layer()->SetContentsOpaque(true);
video_weblayer_->SetContentsOpaqueIsFixed(true);
get_client()->setWebLayer(video_weblayer_.get());
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698