Chromium Code Reviews| Index: content/browser/android/content_view_render_view.cc |
| diff --git a/content/browser/android/content_view_render_view.cc b/content/browser/android/content_view_render_view.cc |
| index 06590fa7513c75d2319d10ff27c163cab691f560..c72c706b11ae75cf4e17881578b1f6bc3741eb7a 100644 |
| --- a/content/browser/android/content_view_render_view.cc |
| +++ b/content/browser/android/content_view_render_view.cc |
| @@ -120,6 +120,11 @@ void ContentViewRenderView::SurfaceChanged(JNIEnv* env, jobject obj, |
| void ContentViewRenderView::SetOverlayVideoMode( |
| JNIEnv* env, jobject obj, bool enabled) { |
| compositor_->SetHasTransparentBackground(enabled); |
| + SetNeedsComposite(env, obj); |
|
Ted C
2014/08/23 00:47:11
was this missing from before?
no sievers
2014/08/25 17:20:42
am also wondering why this is needed
David Trainor- moved to gerrit
2014/08/25 17:30:05
I saw we had this in CompositorView and assumed us
|
| +} |
| + |
| +void ContentViewRenderView::SetNeedsComposite(JNIEnv* env, jobject obj) { |
| + compositor_->SetNeedsComposite(); |
| } |
| void ContentViewRenderView::Layout() { |