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

Unified Diff: cc/layers/picture_layer.h

Issue 671653005: SetNeedsRedraw directly when updating a visible tile. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pinchblurmerge-test: testfix Created 6 years, 1 month 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/layers/picture_layer.h
diff --git a/cc/layers/picture_layer.h b/cc/layers/picture_layer.h
index 3da9668c107b9812e28d4ab68f4da4818313b32a..1e204b90c7be2aa2a5f626547f1bdaf7fb48ec48 100644
--- a/cc/layers/picture_layer.h
+++ b/cc/layers/picture_layer.h
@@ -45,6 +45,8 @@ class CC_EXPORT PictureLayer : public Layer {
protected:
explicit PictureLayer(ContentLayerClient* client);
+ // Allow tests to inject a recording source.
+ PictureLayer(ContentLayerClient* client, scoped_ptr<RecordingSource> source);
~PictureLayer() override;
bool HasDrawableContent() const override;
« no previous file with comments | « cc/cc_tests.gyp ('k') | cc/layers/picture_layer.cc » ('j') | cc/test/layer_tree_test.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698