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

Unified Diff: ui/android/window_android_compositor.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
« no previous file with comments | « ui/android/window_android_compositor.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/android/window_android_compositor.cc
diff --git a/ui/android/window_android_compositor.cc b/ui/android/window_android_compositor.cc
deleted file mode 100644
index 3fb53ead0d63751048d79d8de02ab9dea37edb9d..0000000000000000000000000000000000000000
--- a/ui/android/window_android_compositor.cc
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-//
-#include "ui/android/window_android_compositor.h"
-
-#include "base/lazy_instance.h"
-#include "cc/layers/layer_settings.h"
-
-namespace ui {
-
-namespace {
-base::LazyInstance<cc::LayerSettings> g_layer_settings =
- LAZY_INSTANCE_INITIALIZER;
-} // anonymous namespace
-
-// static
-const cc::LayerSettings& WindowAndroidCompositor::LayerSettings() {
- return g_layer_settings.Get();
-}
-
-// static
-void WindowAndroidCompositor::SetLayerSettings(
- const cc::LayerSettings& settings) {
- g_layer_settings.Get() = settings;
-}
-
-} // namespace ui
« no previous file with comments | « ui/android/window_android_compositor.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698