| Index: cc/resources/transform_display_item.cc
|
| diff --git a/cc/resources/transform_display_item.cc b/cc/resources/transform_display_item.cc
|
| index a25f3478997f7af4cd03a108e6e01501c9721556..4293c7f1f70a56256a6965b8d1026a083d89f5ac 100644
|
| --- a/cc/resources/transform_display_item.cc
|
| +++ b/cc/resources/transform_display_item.cc
|
| @@ -10,13 +10,17 @@
|
|
|
| namespace cc {
|
|
|
| -TransformDisplayItem::TransformDisplayItem(const gfx::Transform& transform)
|
| - : transform_(transform) {
|
| +TransformDisplayItem::TransformDisplayItem()
|
| + : transform_(gfx::Transform::kSkipInitialization) {
|
| }
|
|
|
| TransformDisplayItem::~TransformDisplayItem() {
|
| }
|
|
|
| +void TransformDisplayItem::SetNew(const gfx::Transform& transform) {
|
| + transform_ = transform;
|
| +}
|
| +
|
| void TransformDisplayItem::Raster(SkCanvas* canvas,
|
| SkDrawPictureCallback* callback) const {
|
| canvas->save();
|
|
|