Remove use of kUsePathBoundsForClip_RecordingFlag

The behavior once invoked by the SkPicture::kUsePathBoundsForClip_RecordingFlag is now the default so this flag is going away.
Skia 9f1c241e (Remove SkPicture::kUsePathBoundsForClip_RecordingFlag - https://codereview.chromium.org/316143003/)

Review URL: https://codereview.chromium.org/326953002

git-svn-id: svn://svn.chromium.org/blink/trunk@176040 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent b2f8f96c
...@@ -490,8 +490,7 @@ void GraphicsContext::beginRecording(const FloatRect& bounds) ...@@ -490,8 +490,7 @@ void GraphicsContext::beginRecording(const FloatRect& bounds)
if (!contextDisabled()) { if (!contextDisabled()) {
IntRect recordingRect = enclosingIntRect(bounds); IntRect recordingRect = enclosingIntRect(bounds);
m_canvas = displayList->beginRecording(recordingRect.size(), m_canvas = displayList->beginRecording(recordingRect.size());
SkPicture::kUsePathBoundsForClip_RecordingFlag);
// We want the bounds offset mapped to (0, 0), such that the display list content // We want the bounds offset mapped to (0, 0), such that the display list content
// is fully contained within the SkPictureRecord's bounds. // is fully contained within the SkPictureRecord's bounds.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment