| 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 74f58562b4d350b13b236305cd5e82d0d4f3c9a0..a70ba59de6324bddf069858e6382c290c3178782 100644
|
| --- a/chrome/browser/android/compositor/layer/tab_layer.cc
|
| +++ b/chrome/browser/android/compositor/layer/tab_layer.cc
|
| @@ -98,6 +98,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,
|
| @@ -146,7 +147,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;
|
| @@ -233,13 +235,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;
|
|
|