Index: cc/resources/picture.cc |
diff --git a/cc/resources/picture.cc b/cc/resources/picture.cc |
index 7147a156b0e28afa0b2b5151c85e9a57d916a3fd..dd37418d924e65a60f703a11e7d28f85ff346fe5 100644 |
--- a/cc/resources/picture.cc |
+++ b/cc/resources/picture.cc |
@@ -267,11 +267,8 @@ void Picture::Record(ContentLayerClient* painter, |
scoped_ptr<EXPERIMENTAL::SkRecording> recording; |
skia::RefPtr<SkCanvas> canvas; |
- canvas = skia::SharePtr( |
- recorder.beginRecording(layer_rect_.width(), |
- layer_rect_.height(), |
- &factory, |
- SkPicture::kUsePathBoundsForClip_RecordingFlag)); |
+ canvas = skia::SharePtr(recorder.beginRecording( |
+ layer_rect_.width(), layer_rect_.height(), &factory)); |
ContentLayerClient::GraphicsContextStatus graphics_context_status = |
ContentLayerClient::GRAPHICS_CONTEXT_ENABLED; |
@@ -448,8 +445,7 @@ scoped_ptr<base::Value> Picture::AsValue() const { |
skia::RefPtr<SkCanvas> canvas(skia::SharePtr(recorder.beginRecording( |
layer_rect_.width(), |
layer_rect_.height(), |
- NULL, // Default (no) bounding-box hierarchy is fastest. |
- SkPicture::kUsePathBoundsForClip_RecordingFlag))); |
+ NULL))); // Default (no) bounding-box hierarchy is fastest. |
playback_->draw(canvas.get()); |
skia::RefPtr<SkPicture> picture(skia::AdoptRef(recorder.endRecording())); |
picture->serialize(&stream, &EncodeBitmap); |