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

Unified Diff: chrome/browser/android/compositor/decoration_title.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/decoration_title.cc
diff --git a/chrome/browser/android/compositor/decoration_title.cc b/chrome/browser/android/compositor/decoration_title.cc
index 9eac9322d4c4c58baf2cfd1f7704a1df790a33b3..7575d30ab968be852834051fba7a334711337418 100644
--- a/chrome/browser/android/compositor/decoration_title.cc
+++ b/chrome/browser/android/compositor/decoration_title.cc
@@ -9,7 +9,6 @@
#include "base/i18n/rtl.h"
#include "base/logging.h"
#include "cc/layers/layer.h"
-#include "cc/layers/layer_settings.h"
#include "cc/layers/ui_resource_layer.h"
#include "cc/resources/scoped_ui_resource.h"
#include "chrome/browser/android/compositor/layer_title_cache.h"
@@ -33,13 +32,10 @@ DecorationTitle::DecorationTitle(LayerTitleCache* layer_title_cache,
int favicon_end_padding,
bool is_incognito,
bool is_rtl)
- : layer_(cc::Layer::Create(cc::LayerSettings())),
- layer_opaque_(
- cc::UIResourceLayer::Create(cc::LayerSettings())),
- layer_fade_(
- cc::UIResourceLayer::Create(cc::LayerSettings())),
- layer_favicon_(
- cc::UIResourceLayer::Create(cc::LayerSettings())),
+ : layer_(cc::Layer::Create()),
+ layer_opaque_(cc::UIResourceLayer::Create()),
+ layer_fade_(cc::UIResourceLayer::Create()),
+ layer_favicon_(cc::UIResourceLayer::Create()),
title_resource_id_(title_resource_id),
favicon_resource_id_(favicon_resource_id),
spinner_resource_id_(spinner_resource_id),
« no previous file with comments | « chrome/browser/android/compositor/compositor_view.cc ('k') | chrome/browser/android/compositor/layer/content_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698