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

Unified Diff: chrome/browser/android/compositor/scene_layer/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/scene_layer.cc
diff --git a/chrome/browser/android/compositor/scene_layer/scene_layer.cc b/chrome/browser/android/compositor/scene_layer/scene_layer.cc
index 697134fe0d5451458b5ef7361d517e8a7510ecde..853cf7e0d115ba586da26b314c29ba78e43dec38 100644
--- a/chrome/browser/android/compositor/scene_layer/scene_layer.cc
+++ b/chrome/browser/android/compositor/scene_layer/scene_layer.cc
@@ -5,7 +5,6 @@
#include "chrome/browser/android/compositor/scene_layer/scene_layer.h"
#include "cc/layers/layer.h"
-#include "cc/layers/layer_settings.h"
#include "content/public/browser/android/compositor.h"
#include "jni/SceneLayer_jni.h"
@@ -20,10 +19,7 @@ SceneLayer* SceneLayer::FromJavaObject(JNIEnv* env, jobject jobj) {
}
SceneLayer::SceneLayer(JNIEnv* env, jobject jobj)
- : SceneLayer(env,
- jobj,
- cc::Layer::Create(cc::LayerSettings())) {
-}
+ : SceneLayer(env, jobj, cc::Layer::Create()) {}
SceneLayer::SceneLayer(JNIEnv* env,
jobject jobj,

Powered by Google App Engine
This is Rietveld 408576698