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

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: tweak 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 232dba23ba7236c5fac6f64e46202fa63829361b..cd6bd594cc92809e4a92c6935ef2cde91c29202c 100644
--- a/cc/layers/picture_layer.h
+++ b/cc/layers/picture_layer.h
@@ -48,6 +48,9 @@ class CC_EXPORT PictureLayer : public Layer {
bool HasDrawableContent() const override;
void UpdateCanUseLCDText();
+ // A virtual method for tests to inject a custom implementation.
+ virtual scoped_refptr<PicturePileImpl> CreatePicturePileImpl();
+
private:
ContentLayerClient* client_;
PicturePile pile_;

Powered by Google App Engine
This is Rietveld 408576698