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

Unified Diff: cc/tiled_layer.h

Issue 11662003: cc: Put context-loss tests in layer_tree_host_unittest_context.cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 80cols Created 7 years, 12 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/render_pass_test_common.cc ('k') | cc/tiled_layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tiled_layer.h
diff --git a/cc/tiled_layer.h b/cc/tiled_layer.h
index 9d477845ec00ba713c39429165ffc82bccb091b4..e09780cbe18b8a1933fad80b756c4e3dccab13ad 100644
--- a/cc/tiled_layer.h
+++ b/cc/tiled_layer.h
@@ -65,6 +65,8 @@ protected:
// Virtual for testing
virtual PrioritizedResourceManager* resourceManager() const;
+ const LayerTilingData* tilerForTesting() const { return m_tiler.get(); }
+ const PrioritizedResource* resourceAtForTesting(int, int) const;
private:
virtual scoped_ptr<LayerImpl> createLayerImpl(LayerTreeImpl* treeImpl) OVERRIDE;
« no previous file with comments | « cc/test/render_pass_test_common.cc ('k') | cc/tiled_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698