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

Unified Diff: cc/layers/picture_layer.cc

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.cc
diff --git a/cc/layers/picture_layer.cc b/cc/layers/picture_layer.cc
index a6b68cc12d5f2e7801aec8fd882b6aa3392894a8..602222bcd42d786b62e5692914f485b5430051f1 100644
--- a/cc/layers/picture_layer.cc
+++ b/cc/layers/picture_layer.cc
@@ -25,6 +25,12 @@ PictureLayer::PictureLayer(ContentLayerClient* client)
can_use_lcd_text_last_frame_(can_use_lcd_text()) {
}
+PictureLayer::PictureLayer(ContentLayerClient* client,
+ scoped_ptr<RecordingSource> source)
+ : PictureLayer(client) {
+ recording_source_ = source.Pass();
+}
+
PictureLayer::~PictureLayer() {
}

Powered by Google App Engine
This is Rietveld 408576698