| Index: cc/paint/float_clip_display_item.cc
|
| diff --git a/cc/playback/float_clip_display_item.cc b/cc/paint/float_clip_display_item.cc
|
| similarity index 76%
|
| rename from cc/playback/float_clip_display_item.cc
|
| rename to cc/paint/float_clip_display_item.cc
|
| index 39ae923dd47cc939c568ff06ba9bcc4d8ffab0c5..1c53fc0c53f992fa2fd27ff43cff3869f32873e4 100644
|
| --- a/cc/playback/float_clip_display_item.cc
|
| +++ b/cc/paint/float_clip_display_item.cc
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "cc/playback/float_clip_display_item.h"
|
| +#include "cc/paint/float_clip_display_item.h"
|
|
|
| #include <stddef.h>
|
|
|
| @@ -18,8 +18,7 @@ FloatClipDisplayItem::FloatClipDisplayItem(const gfx::RectF& clip_rect)
|
| SetNew(clip_rect);
|
| }
|
|
|
| -FloatClipDisplayItem::~FloatClipDisplayItem() {
|
| -}
|
| +FloatClipDisplayItem::~FloatClipDisplayItem() {}
|
|
|
| void FloatClipDisplayItem::SetNew(const gfx::RectF& clip_rect) {
|
| clip_rect_ = clip_rect;
|
| @@ -34,12 +33,10 @@ void FloatClipDisplayItem::Raster(SkCanvas* canvas,
|
| EndFloatClipDisplayItem::EndFloatClipDisplayItem()
|
| : DisplayItem(END_FLOAT_CLIP) {}
|
|
|
| -EndFloatClipDisplayItem::~EndFloatClipDisplayItem() {
|
| -}
|
| +EndFloatClipDisplayItem::~EndFloatClipDisplayItem() {}
|
|
|
| -void EndFloatClipDisplayItem::Raster(
|
| - SkCanvas* canvas,
|
| - SkPicture::AbortCallback* callback) const {
|
| +void EndFloatClipDisplayItem::Raster(SkCanvas* canvas,
|
| + SkPicture::AbortCallback* callback) const {
|
| canvas->restore();
|
| }
|
|
|
|
|