| Index: cc/layers/picture_image_layer.cc
|
| diff --git a/cc/layers/picture_image_layer.cc b/cc/layers/picture_image_layer.cc
|
| index 85bc582bd681de64c162565025534db6a3c2ba69..9f35d6e013f9e3fcba28389f9be1bf6c35d43ec3 100644
|
| --- a/cc/layers/picture_image_layer.cc
|
| +++ b/cc/layers/picture_image_layer.cc
|
| @@ -47,7 +47,7 @@ void PictureImageLayer::SetBitmap(const SkBitmap& bitmap) {
|
| void PictureImageLayer::PaintContents(
|
| SkCanvas* canvas,
|
| const gfx::Rect& clip,
|
| - ContentLayerClient::GraphicsContextStatus gc_status) {
|
| + ContentLayerClient::PaintingControlSetting painting_control) {
|
| if (!bitmap_.width() || !bitmap_.height())
|
| return;
|
|
|
| @@ -65,12 +65,12 @@ void PictureImageLayer::PaintContents(
|
|
|
| scoped_refptr<DisplayItemList> PictureImageLayer::PaintContentsToDisplayList(
|
| const gfx::Rect& clip,
|
| - GraphicsContextStatus gc_status) {
|
| + ContentLayerClient::PaintingControlSetting painting_control) {
|
| scoped_refptr<DisplayItemList> display_item_list = DisplayItemList::Create();
|
|
|
| SkPictureRecorder recorder;
|
| SkCanvas* canvas = recorder.beginRecording(gfx::RectToSkRect(clip));
|
| - PaintContents(canvas, clip, gc_status);
|
| + PaintContents(canvas, clip, painting_control);
|
|
|
| skia::RefPtr<SkPicture> picture = skia::AdoptRef(recorder.endRecording());
|
| display_item_list->AppendItem(
|
|
|