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

Unified Diff: chrome/browser/android/compositor/compositor_view.cc

Issue 1122393003: CC: Plumb LayerSettings parameter for cc::Layer construction. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 7 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
« no previous file with comments | « cc/trees/tree_synchronizer_unittest.cc ('k') | chrome/browser/android/compositor/decoration_title.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f09ac75cac5b00f5698e0004908d512e001b2b2a..59043f8fc495bf29f3bc244b81c9664092bcfd72 100644
--- a/chrome/browser/android/compositor/compositor_view.cc
+++ b/chrome/browser/android/compositor/compositor_view.cc
@@ -82,7 +82,8 @@ 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()),
+ root_layer_(
+ cc::SolidColorLayer::Create(content::Compositor::LayerSettings())),
toolbar_layer_(ToolbarLayer::Create()),
scene_layer_(nullptr),
current_surface_format_(0),
« no previous file with comments | « cc/trees/tree_synchronizer_unittest.cc ('k') | chrome/browser/android/compositor/decoration_title.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698