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

Unified Diff: content/browser/android/content_startup_flags.cc

Issue 1747783002: CC Animation: Erase old animation system in Android Compositor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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: content/browser/android/content_startup_flags.cc
diff --git a/content/browser/android/content_startup_flags.cc b/content/browser/android/content_startup_flags.cc
index 0606bc21eec7e92087f5f113bddb4c91ed3c2bbd..b588deda0c9c86098132e456a462675d8718d15c 100644
--- a/content/browser/android/content_startup_flags.cc
+++ b/content/browser/android/content_startup_flags.cc
@@ -10,7 +10,6 @@
#include "base/logging.h"
#include "base/sys_info.h"
#include "cc/base/switches.h"
-#include "cc/layers/layer_settings.h"
#include "content/public/browser/android/compositor.h"
#include "content/public/common/content_switches.h"
#include "gpu/command_buffer/service/gpu_switches.h"
@@ -79,12 +78,6 @@ void SetContentCommandLineFlags(bool single_process,
parsed_command_line->AppendSwitchASCII(
switches::kProfilerTiming, switches::kProfilerTimingDisabledValue);
}
-
- cc::LayerSettings layer_settings;
- layer_settings.use_compositor_animation_timelines =
- !parsed_command_line->HasSwitch(
- switches::kDisableAndroidCompositorAnimationTimelines);
- Compositor::SetLayerSettings(layer_settings);
}
} // namespace content
« no previous file with comments | « content/browser/android/composited_touch_handle_drawable.cc ('k') | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698