Index: cc/layers/picture_layer_impl.cc |
diff --git a/cc/layers/picture_layer_impl.cc b/cc/layers/picture_layer_impl.cc |
index 5452941793305803df01e77e42039b1e5272a1f4..624b90aaf71f7441618b77153a94c7b90a21a04d 100644 |
--- a/cc/layers/picture_layer_impl.cc |
+++ b/cc/layers/picture_layer_impl.cc |
@@ -165,6 +165,7 @@ void PictureLayerImpl::AppendQuads(QuadSink* quad_sink, |
if (current_draw_mode_ == DRAW_MODE_RESOURCELESS_SOFTWARE) { |
AppendDebugBorderQuad( |
quad_sink, |
+ scaled_content_bounds, |
shared_quad_state, |
append_quads_data, |
DebugColors::DirectPictureBorderColor(), |
@@ -197,7 +198,8 @@ void PictureLayerImpl::AppendQuads(QuadSink* quad_sink, |
return; |
} |
- AppendDebugBorderQuad(quad_sink, shared_quad_state, append_quads_data); |
+ AppendDebugBorderQuad( |
+ quad_sink, scaled_content_bounds, shared_quad_state, append_quads_data); |
if (ShowDebugBorders()) { |
for (PictureLayerTilingSet::CoverageIterator iter( |