| Index: cc/resources/picture_pile_impl.cc
|
| diff --git a/cc/resources/picture_pile_impl.cc b/cc/resources/picture_pile_impl.cc
|
| index 470b3a069b076b08822f25f7758827d566eb9a32..c694365ef051d9f6887a459f20b3096c0ceaec56 100644
|
| --- a/cc/resources/picture_pile_impl.cc
|
| +++ b/cc/resources/picture_pile_impl.cc
|
| @@ -228,10 +228,10 @@ void PicturePileImpl::AnalyzeInRect(const gfx::Rect& content_rect,
|
| gfx::Rect layer_rect = gfx::ToEnclosingRect(
|
| gfx::ScaleRect(content_rect, 1.f / contents_scale));
|
|
|
| - SkBitmap emptyBitmap;
|
| - emptyBitmap.setConfig(SkBitmap::kNo_Config, content_rect.width(),
|
| + SkBitmap empty_bitmap;
|
| + empty_bitmap.setConfig(SkBitmap::kNo_Config, content_rect.width(),
|
| content_rect.height());
|
| - skia::AnalysisDevice device(emptyBitmap);
|
| + skia::AnalysisDevice device(empty_bitmap);
|
| skia::AnalysisCanvas canvas(&device);
|
|
|
| int64 total_pixels_rasterized = 0;
|
|
|