Index: chrome/browser/android/compositor/layer/tab_handle_layer.cc |
diff --git a/chrome/browser/android/compositor/layer/tab_handle_layer.cc b/chrome/browser/android/compositor/layer/tab_handle_layer.cc |
index ebe10b2e74be6515c022202a7daa79294e388c7c..5e479c761caf9ff2b7eabaaab6fcec007eb27c4d 100644 |
--- a/chrome/browser/android/compositor/layer/tab_handle_layer.cc |
+++ b/chrome/browser/android/compositor/layer/tab_handle_layer.cc |
@@ -6,7 +6,6 @@ |
#include "base/i18n/rtl.h" |
#include "cc/layers/layer.h" |
-#include "cc/layers/layer_settings.h" |
#include "cc/layers/solid_color_layer.h" |
#include "cc/resources/scoped_ui_resource.h" |
#include "chrome/browser/android/compositor/decoration_title.h" |
@@ -179,13 +178,10 @@ scoped_refptr<cc::Layer> TabHandleLayer::layer() { |
TabHandleLayer::TabHandleLayer(LayerTitleCache* layer_title_cache) |
: layer_title_cache_(layer_title_cache), |
- layer_(cc::Layer::Create(cc::LayerSettings())), |
- close_button_( |
- cc::UIResourceLayer::Create(cc::LayerSettings())), |
- decoration_tab_( |
- cc::NinePatchLayer::Create(cc::LayerSettings())), |
- border_( |
- cc::SolidColorLayer::Create(cc::LayerSettings())), |
+ layer_(cc::Layer::Create()), |
+ close_button_(cc::UIResourceLayer::Create()), |
+ decoration_tab_(cc::NinePatchLayer::Create()), |
+ border_(cc::SolidColorLayer::Create()), |
brightness_(1.0f), |
foreground_(false) { |
decoration_tab_->SetIsDrawable(true); |