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

Unified Diff: cc/layers/picture_layer_impl.h

Issue 863253002: Update from https://crrev.com/312600 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 11 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/layers/picture_layer_impl.h
diff --git a/cc/layers/picture_layer_impl.h b/cc/layers/picture_layer_impl.h
index 57947cc0775523a30bb857e99c199c8d0615a4bf..e6554cdb2e96804ef42ac7f01b7271197642414f 100644
--- a/cc/layers/picture_layer_impl.h
+++ b/cc/layers/picture_layer_impl.h
@@ -119,7 +119,7 @@ class CC_EXPORT PictureLayerImpl
float MinimumContentsScale() const;
float MaximumContentsScale() const;
void ResetRasterScale();
- gfx::Rect GetViewportForTilePriorityInContentSpace() const;
+ void UpdateViewportRectForTilePriorityInContentSpace();
PictureLayerImpl* GetRecycledTwinLayer() const;
void SanityCheckTilingState() const;
@@ -173,6 +173,7 @@ class CC_EXPORT PictureLayerImpl
// from regular draws. Save a copy of the required draw properties of the last
// frame that has a valid viewport for prioritizing tiles.
gfx::Rect visible_rect_for_tile_priority_;
+ gfx::Rect viewport_rect_for_tile_priority_in_content_space_;
DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl);
};

Powered by Google App Engine
This is Rietveld 408576698