| Index: cc/playback/clip_path_display_item.cc
|
| diff --git a/cc/playback/clip_path_display_item.cc b/cc/playback/clip_path_display_item.cc
|
| index 64f3f95712a22361826c0f3ce7e917afd90f5868..46347370b13bbbc36f8f2b4767cc64d61514b06a 100644
|
| --- a/cc/playback/clip_path_display_item.cc
|
| +++ b/cc/playback/clip_path_display_item.cc
|
| @@ -12,6 +12,7 @@
|
| #include "cc/proto/display_item.pb.h"
|
| #include "cc/proto/skia_conversions.h"
|
| #include "third_party/skia/include/core/SkCanvas.h"
|
| +#include "skia/ext/cdl_canvas.h"
|
|
|
| namespace cc {
|
|
|
| @@ -65,7 +66,7 @@ void ClipPathDisplayItem::ToProtobuf(proto::DisplayItem* proto) const {
|
| }
|
| }
|
|
|
| -void ClipPathDisplayItem::Raster(SkCanvas* canvas,
|
| +void ClipPathDisplayItem::Raster(CdlCanvas* canvas,
|
| SkPicture::AbortCallback* callback) const {
|
| canvas->save();
|
| canvas->clipPath(clip_path_, clip_op_, antialias_);
|
| @@ -99,9 +100,8 @@ void EndClipPathDisplayItem::ToProtobuf(proto::DisplayItem* proto) const {
|
| proto->set_type(proto::DisplayItem::Type_EndClipPath);
|
| }
|
|
|
| -void EndClipPathDisplayItem::Raster(
|
| - SkCanvas* canvas,
|
| - SkPicture::AbortCallback* callback) const {
|
| +void EndClipPathDisplayItem::Raster(CdlCanvas* canvas,
|
| + SkPicture::AbortCallback* callback) const {
|
| canvas->restore();
|
| }
|
|
|
|
|