| Index: cc/layers/picture_layer.cc
|
| diff --git a/cc/layers/picture_layer.cc b/cc/layers/picture_layer.cc
|
| index 68d24bac812427a2c71412012c934ba6127a146f..d86aef7f4910c3cc9c6b80178352e0991196dd92 100644
|
| --- a/cc/layers/picture_layer.cc
|
| +++ b/cc/layers/picture_layer.cc
|
| @@ -9,6 +9,7 @@
|
| #include "cc/layers/picture_layer_impl.h"
|
| #include "cc/trees/layer_tree_impl.h"
|
| #include "third_party/skia/include/core/SkPictureRecorder.h"
|
| +#include "ui/gfx/geometry/size_conversions.h"
|
| #include "ui/gfx/rect_conversions.h"
|
|
|
| namespace cc {
|
| @@ -46,7 +47,8 @@ void PictureLayer::PushPropertiesTo(LayerImpl* base_layer) {
|
| // TODO(ernstm): This DCHECK is only valid as long as the pile's tiling_rect
|
| // is identical to the layer_rect.
|
| // If update called, then pile size must match bounds pushed to impl layer.
|
| - DCHECK_EQ(layer_impl->bounds().ToString(), pile_->tiling_size().ToString());
|
| + DCHECK_EQ(gfx::ToCeiledSize(layer_impl->bounds()).ToString(),
|
| + pile_->tiling_size().ToString());
|
| }
|
|
|
| // Unlike other properties, invalidation must always be set on layer_impl.
|
|
|