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

Unified Diff: chrome/browser/android/compositor/layer/content_layer.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
Index: chrome/browser/android/compositor/layer/content_layer.cc
diff --git a/chrome/browser/android/compositor/layer/content_layer.cc b/chrome/browser/android/compositor/layer/content_layer.cc
index 016c7f1db349eb6d8008054409ecc104e8c1f34a..ce2be9213d9b929be4fc79616e09335f48bbfb5a 100644
--- a/chrome/browser/android/compositor/layer/content_layer.cc
+++ b/chrome/browser/android/compositor/layer/content_layer.cc
@@ -4,10 +4,12 @@
#include "chrome/browser/android/compositor/layer/content_layer.h"
+#include "base/lazy_instance.h"
#include "cc/layers/layer.h"
#include "cc/layers/layer_lists.h"
#include "chrome/browser/android/compositor/layer/thumbnail_layer.h"
#include "chrome/browser/android/compositor/tab_content_manager.h"
+#include "content/public/browser/android/compositor.h"
#include "ui/gfx/geometry/size.h"
namespace chrome {
@@ -161,7 +163,7 @@ scoped_refptr<cc::Layer> ContentLayer::layer() {
}
ContentLayer::ContentLayer(TabContentManager* tab_content_manager)
- : layer_(cc::Layer::Create()),
+ : layer_(cc::Layer::Create(content::Compositor::LayerSettings())),
content_attached_(false),
static_attached_(false),
tab_content_manager_(tab_content_manager) {

Powered by Google App Engine
This is Rietveld 408576698