| Index: cc/tiles/tile_draw_info.h
|
| diff --git a/cc/tiles/tile_draw_info.h b/cc/tiles/tile_draw_info.h
|
| index 05596ba921637cac6ddf0391dfc98944a0426a6d..6d694ebf1e2e41c4ca238ecbb0463d3a2e510402 100644
|
| --- a/cc/tiles/tile_draw_info.h
|
| +++ b/cc/tiles/tile_draw_info.h
|
| @@ -73,6 +73,10 @@ class CC_EXPORT TileDrawInfo {
|
|
|
| inline bool has_resource() const { return !!resource_; }
|
|
|
| + inline bool has_compressed_resource() const {
|
| + return resource_ ? IsResourceFormatCompressed(resource_->format()) : false;
|
| + }
|
| +
|
| void SetSolidColorForTesting(SkColor color) { set_solid_color(color); }
|
|
|
| void AsValueInto(base::trace_event::TracedValue* state) const;
|
|
|