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

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: 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
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;
enne (OOO) 2013/01/02 20:30:39 I wish there were some better way to do all of the
danakj 2013/01/02 20:45:00 I kinda like them here because they are closer to
danakj 2013/01/02 20:46:20 I will also say, I like this a bit better than mak
private:
virtual scoped_ptr<LayerImpl> createLayerImpl(LayerTreeImpl* treeImpl) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698