| Index: chrome/browser/android/compositor/layer/tab_layer.cc
|
| diff --git a/chrome/browser/android/compositor/layer/tab_layer.cc b/chrome/browser/android/compositor/layer/tab_layer.cc
|
| index dc16d07239bcfdbcf9fde71e229230081aba8db1..ee2804f00cdab879fd202c67e14eb2ce1b575534 100644
|
| --- a/chrome/browser/android/compositor/layer/tab_layer.cc
|
| +++ b/chrome/browser/android/compositor/layer/tab_layer.cc
|
| @@ -97,6 +97,7 @@ static void PositionPadding(scoped_refptr<cc::SolidColorLayer> padding_layer,
|
| void TabLayer::SetProperties(int id,
|
| bool can_use_live_layer,
|
| int toolbar_resource_id,
|
| + int toolbar_shadow_resource_id,
|
| int close_button_resource_id,
|
| int shadow_resource_id,
|
| int contour_resource_id,
|
| @@ -144,7 +145,8 @@ void TabLayer::SetProperties(int id,
|
| float toolbar_y_offset,
|
| float side_border_scale,
|
| bool attach_content,
|
| - bool inset_border) {
|
| + bool inset_border,
|
| + bool needs_toolbar_shadow) {
|
| if (alpha <= 0) {
|
| layer_->SetHideLayerAndSubtree(true);
|
| return;
|
| @@ -231,13 +233,14 @@ void TabLayer::SetProperties(int id,
|
|
|
| // TODO(kkimlabs): Tab switcher doesn't show the progress bar.
|
| toolbar_layer_->PushResource(toolbar_resource_id,
|
| + toolbar_shadow_resource_id,
|
| toolbar_background_color,
|
| anonymize_toolbar,
|
| toolbar_textbox_background_color,
|
| toolbar_textbox_resource_id,
|
| toolbar_textbox_alpha,
|
| false,
|
| - false);
|
| + needs_toolbar_shadow);
|
| toolbar_layer_->UpdateProgressBar(0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
|
|
| float toolbar_impact_height = 0;
|
|
|