Index: cc/layers/picture_image_layer_impl.cc |
diff --git a/cc/layers/picture_image_layer_impl.cc b/cc/layers/picture_image_layer_impl.cc |
index 9fa401f0339df02771de0ba41c5df1e7167128a3..65241aba63f40ce10c41cbdbabb408e7586fc265 100644 |
--- a/cc/layers/picture_image_layer_impl.cc |
+++ b/cc/layers/picture_image_layer_impl.cc |
@@ -31,10 +31,14 @@ void PictureImageLayerImpl::GetDebugBorderProperties( |
*width = DebugColors::ImageLayerBorderWidth(layer_tree_impl()); |
} |
+bool PictureImageLayerImpl::ShouldAdjustRasterScale(bool) const { |
danakj
2013/03/25 20:13:03
please give the variable its name
Xianzhu
2013/03/25 20:42:23
Done.
|
+ return false; |
+} |
+ |
void PictureImageLayerImpl::CalculateRasterContentsScale( |
bool animating_transform_to_screen, |
float* raster_contents_scale, |
- float* low_res_raster_contents_scale) { |
+ float* low_res_raster_contents_scale) const { |
// Don't scale images during rastering to ensure image quality, save memory |
// and avoid frequent re-rastering on change of scale. |
*raster_contents_scale = std::max(1.f, MinimumContentsScale()); |