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

Unified Diff: chrome/browser/android/compositor/scene_layer/tab_list_scene_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/scene_layer/tab_list_scene_layer.cc
diff --git a/chrome/browser/android/compositor/scene_layer/tab_list_scene_layer.cc b/chrome/browser/android/compositor/scene_layer/tab_list_scene_layer.cc
index 2058d6ee2af6e08af40cd2c6695a5e8ce1859f9a..fd2e781b906cc984c0c8866ef02cc1233770362e 100644
--- a/chrome/browser/android/compositor/scene_layer/tab_list_scene_layer.cc
+++ b/chrome/browser/android/compositor/scene_layer/tab_list_scene_layer.cc
@@ -5,7 +5,6 @@
#include "chrome/browser/android/compositor/scene_layer/tab_list_scene_layer.h"
#include "base/android/jni_android.h"
-#include "cc/layers/layer_settings.h"
#include "chrome/browser/android/compositor/layer/content_layer.h"
#include "chrome/browser/android/compositor/layer/tab_layer.h"
#include "chrome/browser/android/compositor/layer_title_cache.h"
@@ -25,7 +24,7 @@ TabListSceneLayer::TabListSceneLayer(JNIEnv* env, jobject jobj)
layer_title_cache_(nullptr),
tab_content_manager_(nullptr),
background_color_(SK_ColorWHITE),
- own_tree_(cc::Layer::Create(cc::LayerSettings())) {
+ own_tree_(cc::Layer::Create()) {
layer()->AddChild(own_tree_);
}

Powered by Google App Engine
This is Rietveld 408576698