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

Unified Diff: cc/test/fake_picture_layer_impl.h

Issue 616543004: cc: Use visible_rect_for_tile_priority_ where approriate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: partial revert of https://codereview.chromium.org/517893002 Created 6 years, 3 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
Index: cc/test/fake_picture_layer_impl.h
diff --git a/cc/test/fake_picture_layer_impl.h b/cc/test/fake_picture_layer_impl.h
index a06805c08ee44af979db607b4c91dfb5ef645390..365e9dbb6fe8644389556ac301ba72b4a1f3908c 100644
--- a/cc/test/fake_picture_layer_impl.h
+++ b/cc/test/fake_picture_layer_impl.h
@@ -92,6 +92,9 @@ class FakePictureLayerImpl : public PictureLayerImpl {
const Region& invalidation() const { return invalidation_; }
void set_invalidation(const Region& region) { invalidation_ = region; }
+ void set_visible_rect_for_tile_priority(gfx::Rect rect) {
+ visible_rect_for_tile_priority_ = rect;
+ }
gfx::Rect visible_rect_for_tile_priority() {
return visible_rect_for_tile_priority_;
}

Powered by Google App Engine
This is Rietveld 408576698