| Index: cc/paint/clip_path_display_item.cc
|
| diff --git a/cc/playback/clip_path_display_item.cc b/cc/paint/clip_path_display_item.cc
|
| similarity index 71%
|
| rename from cc/playback/clip_path_display_item.cc
|
| rename to cc/paint/clip_path_display_item.cc
|
| index 8f87c8cf5a3fb7b87b4f12aab337deba20bb75bc..4d540c0bd089f654e37b136d38cf41fb6c17fc81 100644
|
| --- a/cc/playback/clip_path_display_item.cc
|
| +++ b/cc/paint/clip_path_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/clip_path_display_item.h"
|
| +#include "cc/paint/clip_path_display_item.h"
|
|
|
| #include <stddef.h>
|
| #include <stdint.h>
|
| @@ -19,11 +19,9 @@ ClipPathDisplayItem::ClipPathDisplayItem(const SkPath& clip_path,
|
| SetNew(clip_path, antialias);
|
| }
|
|
|
| -ClipPathDisplayItem::~ClipPathDisplayItem() {
|
| -}
|
| +ClipPathDisplayItem::~ClipPathDisplayItem() {}
|
|
|
| -void ClipPathDisplayItem::SetNew(const SkPath& clip_path,
|
| - bool antialias) {
|
| +void ClipPathDisplayItem::SetNew(const SkPath& clip_path, bool antialias) {
|
| clip_path_ = clip_path;
|
| antialias_ = antialias;
|
| }
|
| @@ -36,12 +34,10 @@ void ClipPathDisplayItem::Raster(SkCanvas* canvas,
|
|
|
| EndClipPathDisplayItem::EndClipPathDisplayItem() : DisplayItem(END_CLIP_PATH) {}
|
|
|
| -EndClipPathDisplayItem::~EndClipPathDisplayItem() {
|
| -}
|
| +EndClipPathDisplayItem::~EndClipPathDisplayItem() {}
|
|
|
| -void EndClipPathDisplayItem::Raster(
|
| - SkCanvas* canvas,
|
| - SkPicture::AbortCallback* callback) const {
|
| +void EndClipPathDisplayItem::Raster(SkCanvas* canvas,
|
| + SkPicture::AbortCallback* callback) const {
|
| canvas->restore();
|
| }
|
|
|
|
|