| Index: content/browser/android/content_view_core_impl.cc
|
| diff --git a/content/browser/android/content_view_core_impl.cc b/content/browser/android/content_view_core_impl.cc
|
| index 6a022123ba4b31b670f84b17b41f74875e34edf5..54cd7a0bf05e44dc7b87e0a5504394cb12ec3318 100644
|
| --- a/content/browser/android/content_view_core_impl.cc
|
| +++ b/content/browser/android/content_view_core_impl.cc
|
| @@ -1242,8 +1242,12 @@ jint ContentViewCoreImpl::GetCurrentRenderProcessId(JNIEnv* env, jobject obj) {
|
|
|
| void ContentViewCoreImpl::SetBackgroundOpaque(JNIEnv* env, jobject jobj,
|
| jboolean opaque) {
|
| - if (GetRenderWidgetHostViewAndroid())
|
| - GetRenderWidgetHostViewAndroid()->SetBackgroundOpaque(opaque);
|
| + if (GetRenderWidgetHostViewAndroid()) {
|
| + if (opaque)
|
| + GetRenderWidgetHostViewAndroid()->SetBackgroundColorToDefault();
|
| + else
|
| + GetRenderWidgetHostViewAndroid()->SetBackgroundColor(SK_ColorTRANSPARENT);
|
| + }
|
| }
|
|
|
| void ContentViewCoreImpl::RequestTextSurroundingSelection(
|
|
|