| Index: chrome/browser/android/compositor/scene_layer/tab_strip_scene_layer.cc
|
| diff --git a/chrome/browser/android/compositor/scene_layer/tab_strip_scene_layer.cc b/chrome/browser/android/compositor/scene_layer/tab_strip_scene_layer.cc
|
| index 39179631d2e458bc477ba61cb1ecaa42eab3091d..ef171f588f832de9911d0c8deef977502d7b2a3f 100644
|
| --- a/chrome/browser/android/compositor/scene_layer/tab_strip_scene_layer.cc
|
| +++ b/chrome/browser/android/compositor/scene_layer/tab_strip_scene_layer.cc
|
| @@ -318,6 +318,18 @@ scoped_refptr<TabHandleLayer> TabStripSceneLayer::GetNextLayer(
|
| return layer_tree;
|
| }
|
|
|
| +bool TabStripSceneLayer::ShouldShowBackground() {
|
| + if (content_tree_)
|
| + return content_tree_->ShouldShowBackground();
|
| + return SceneLayer::ShouldShowBackground();
|
| +}
|
| +
|
| +SkColor TabStripSceneLayer::GetBackgroundColor() {
|
| + if (content_tree_)
|
| + return content_tree_->GetBackgroundColor();
|
| + return SceneLayer::GetBackgroundColor();
|
| +}
|
| +
|
| static jlong Init(JNIEnv* env, const JavaParamRef<jobject>& jobj) {
|
| // This will automatically bind to the Java object and pass ownership there.
|
| TabStripSceneLayer* scene_layer = new TabStripSceneLayer(env, jobj);
|
|
|