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

Unified Diff: cc/resources/picture_pile.h

Issue 862133002: Update from https://crrev.com/312398 (Closed) Base URL: git@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/resources/picture_pile.h
diff --git a/cc/resources/picture_pile.h b/cc/resources/picture_pile.h
index fd1c4540dc2a785f5c8087d22fac429c6d0216d0..0a67c09bfc051d4f6ea22aa2a7278022672cd6f0 100644
--- a/cc/resources/picture_pile.h
+++ b/cc/resources/picture_pile.h
@@ -39,10 +39,7 @@ class CC_EXPORT PicturePile : public RecordingSource {
bool IsSuitableForGpuRasterization() const override;
void SetTileGridSize(const gfx::Size& tile_grid_size) override;
void SetUnsuitableForGpuRasterizationForTesting() override;
- SkTileGridFactory::TileGridInfo GetTileGridInfoForTesting() const override;
-
- static void ComputeTileGridInfo(const gfx::Size& tile_grid_size,
- SkTileGridFactory::TileGridInfo* info);
+ gfx::Size GetTileGridSizeForTesting() const override;
protected:
class CC_EXPORT PictureInfo {
@@ -94,7 +91,7 @@ class CC_EXPORT PicturePile : public RecordingSource {
// recorded.
gfx::Rect recorded_viewport_;
float min_contents_scale_;
- SkTileGridFactory::TileGridInfo tile_grid_info_;
+ gfx::Size tile_grid_size_;
int slow_down_raster_scale_factor_for_debug_;
bool can_use_lcd_text_;
// A hint about whether there are any recordings. This may be a false

Powered by Google App Engine
This is Rietveld 408576698