| Index: content/browser/renderer_host/compositor_impl_android.cc
|
| diff --git a/content/browser/renderer_host/compositor_impl_android.cc b/content/browser/renderer_host/compositor_impl_android.cc
|
| index 006a51dc8552f337ae44b8e8fad8034fc52f3b17..a38558395dc6a243da258c1e754ed3a73e6b24d4 100644
|
| --- a/content/browser/renderer_host/compositor_impl_android.cc
|
| +++ b/content/browser/renderer_host/compositor_impl_android.cc
|
| @@ -597,18 +597,8 @@ void CompositorImpl::SetWindowBounds(const gfx::Size& size) {
|
|
|
| void CompositorImpl::SetHasTransparentBackground(bool transparent) {
|
| has_transparent_background_ = transparent;
|
| - if (host_) {
|
| + if (host_)
|
| host_->set_has_transparent_background(transparent);
|
| -
|
| - // Give a delay in setting the background color to avoid the color for
|
| - // the normal mode (white) affecting the UI transition.
|
| - base::ThreadTaskRunnerHandle::Get().get()->PostDelayedTask(
|
| - FROM_HERE,
|
| - base::Bind(&CompositorImpl::SetBackgroundColor,
|
| - weak_factory_.GetWeakPtr(),
|
| - transparent ? SK_ColorBLACK : SK_ColorWHITE),
|
| - base::TimeDelta::FromMilliseconds(500));
|
| - }
|
| }
|
|
|
| void CompositorImpl::SetBackgroundColor(int color) {
|
|
|