Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(216)

Unified Diff: chrome/browser/android/compositor/layer/thumbnail_layer.cc

Issue 1783613004: CC Animation: Erase cc::LayerSettings everywhere. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@eraseandroid
Patch Set: Rebase. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}
« no previous file with comments | « chrome/browser/android/compositor/layer/tab_layer.cc ('k') | chrome/browser/android/compositor/layer/toolbar_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698