Index: chrome/browser/android/compositor/layer/thumbnail_layer.cc |
diff --git a/chrome/browser/android/compositor/layer/thumbnail_layer.cc b/chrome/browser/android/compositor/layer/thumbnail_layer.cc |
index 1df0ea08b74d256a3b04475300aa08916f34fd6e..c562c8a03971766f0875eda5f61eb4b4b1c4e7c1 100644 |
--- a/chrome/browser/android/compositor/layer/thumbnail_layer.cc |
+++ b/chrome/browser/android/compositor/layer/thumbnail_layer.cc |
@@ -4,7 +4,6 @@ |
#include "chrome/browser/android/compositor/layer/thumbnail_layer.h" |
-#include "cc/layers/layer_settings.h" |
#include "cc/layers/ui_resource_layer.h" |
#include "chrome/browser/android/thumbnail/thumbnail.h" |
#include "content/public/browser/android/compositor.h" |
@@ -50,9 +49,7 @@ scoped_refptr<cc::Layer> ThumbnailLayer::layer() { |
return layer_; |
} |
-ThumbnailLayer::ThumbnailLayer() |
- : layer_( |
- cc::UIResourceLayer::Create(cc::LayerSettings())) { |
+ThumbnailLayer::ThumbnailLayer() : layer_(cc::UIResourceLayer::Create()) { |
layer_->SetIsDrawable(true); |
} |