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

Unified Diff: cc/test/fake_layer_tree_host_impl_client.cc

Issue 11472021: cc: Pass LayerTreeHostImpl to LayerImpl constructor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years 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_layer_tree_host_impl_client.h ('k') | cc/test/tiled_layer_test_common.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_layer_tree_host_impl_client.cc
diff --git a/cc/renderer.cc b/cc/test/fake_layer_tree_host_impl_client.cc
similarity index 54%
copy from cc/renderer.cc
copy to cc/test/fake_layer_tree_host_impl_client.cc
index 50f07a34eef88ecca63f292a29237bf0b5271f2b..c97b5c49dbd44e972afd07f0b0618ce982f0d32a 100644
--- a/cc/renderer.cc
+++ b/cc/test/fake_layer_tree_host_impl_client.cc
@@ -2,18 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "cc/renderer.h"
+#include "cc/test/fake_layer_tree_host_impl_client.h"
namespace cc {
-bool Renderer::haveCachedResourcesForRenderPassId(RenderPass::Id) const
-{
- return false;
-}
-
-bool Renderer::isContextLost()
-{
- return false;
+bool FakeLayerTreeHostImplClient::reduceContentsTextureMemoryOnImplThread(
+ size_t,
+ int) {
+ return false;
}
} // namespace cc
« no previous file with comments | « cc/test/fake_layer_tree_host_impl_client.h ('k') | cc/test/tiled_layer_test_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698