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

Unified Diff: chrome/browser/android/compositor/compositor_view.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/compositor_view.cc
diff --git a/chrome/browser/android/compositor/compositor_view.cc b/chrome/browser/android/compositor/compositor_view.cc
index edc8b07e5b28fbcd338951259a2826942bd95872..ca64ccd00353338a59c36e64933e5c210f2eab1d 100644
--- a/chrome/browser/android/compositor/compositor_view.cc
+++ b/chrome/browser/android/compositor/compositor_view.cc
@@ -19,7 +19,6 @@
#include "base/trace_event/trace_event.h"
#include "cc/layers/layer.h"
#include "cc/layers/layer_lists.h"
-#include "cc/layers/layer_settings.h"
#include "cc/layers/solid_color_layer.h"
#include "cc/layers/texture_layer.h"
#include "chrome/browser/android/compositor/layer/toolbar_layer.h"
@@ -83,8 +82,7 @@ CompositorView::CompositorView(JNIEnv* env,
TabContentManager* tab_content_manager)
: layer_title_cache_(layer_title_cache),
tab_content_manager_(tab_content_manager),
- root_layer_(
- cc::SolidColorLayer::Create(cc::LayerSettings())),
+ root_layer_(cc::SolidColorLayer::Create()),
scene_layer_(nullptr),
current_surface_format_(0),
content_width_(0),

Powered by Google App Engine
This is Rietveld 408576698