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

Unified Diff: cc/test/layer_internals_for_test.cc

Issue 2716583004: cc: Remove SetNeedsUpdate function from cc::Layer (Closed)
Patch Set: add/edit/transport comments Created 3 years, 10 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/test/layer_internals_for_test.h ('k') | cc/trees/layer_tree_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/layer_internals_for_test.cc
diff --git a/cc/test/layer_internals_for_test.cc b/cc/test/layer_internals_for_test.cc
deleted file mode 100644
index 321330c69d314f8c96002ff6245ee9005f2c147c..0000000000000000000000000000000000000000
--- a/cc/test/layer_internals_for_test.cc
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright 2016 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 "cc/test/layer_internals_for_test.h"
-
-#include "cc/layers/layer.h"
-
-namespace cc {
-
-LayerInternalsForTest::LayerInternalsForTest(Layer* layer) : layer_(layer) {}
-
-void LayerInternalsForTest::OnOpacityAnimated(float opacity) {
- layer_->OnOpacityAnimated(opacity);
-}
-
-void LayerInternalsForTest::OnTransformAnimated(
- const gfx::Transform& transform) {
- layer_->OnTransformAnimated(transform);
-}
-
-void LayerInternalsForTest::OnScrollOffsetAnimated(
- const gfx::ScrollOffset& scroll_offset) {
- layer_->OnScrollOffsetAnimated(scroll_offset);
-}
-
-} // namespace cc
« no previous file with comments | « cc/test/layer_internals_for_test.h ('k') | cc/trees/layer_tree_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698