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

Unified Diff: cc/test/fake_content_layer_impl.cc

Issue 1057283003: Remove parts of //cc we aren't using (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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 | « cc/test/fake_content_layer_impl.h ('k') | cc/test/fake_delegated_renderer_layer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_content_layer_impl.cc
diff --git a/cc/test/fake_content_layer_impl.cc b/cc/test/fake_content_layer_impl.cc
deleted file mode 100644
index 54c62d01adefb633b732bf538655cb8188924ecc..0000000000000000000000000000000000000000
--- a/cc/test/fake_content_layer_impl.cc
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright 2012 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/fake_content_layer_impl.h"
-
-namespace cc {
-
-FakeContentLayerImpl::FakeContentLayerImpl(
- LayerTreeImpl* tree_impl,
- int id,
- scoped_refptr<LayerImpl::SyncedScrollOffset> synced_scroll_offset)
- : TiledLayerImpl(tree_impl, id, synced_scroll_offset),
- lost_output_surface_count_(0) {
-}
-
-FakeContentLayerImpl::~FakeContentLayerImpl() {}
-
-scoped_ptr<LayerImpl> FakeContentLayerImpl::CreateLayerImpl(
- LayerTreeImpl* tree_impl) {
- return FakeContentLayerImpl::Create(tree_impl, id(), synced_scroll_offset());
-}
-
-bool FakeContentLayerImpl::HaveResourceForTileAt(int i, int j) {
- return HasResourceIdForTileAt(i, j);
-}
-
-void FakeContentLayerImpl::ReleaseResources() {
- TiledLayerImpl::ReleaseResources();
- ++lost_output_surface_count_;
-}
-
-} // namespace cc
« no previous file with comments | « cc/test/fake_content_layer_impl.h ('k') | cc/test/fake_delegated_renderer_layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698