From 9f1c241e0d8a756fca1ec2dacb565eec83166d5f Mon Sep 17 00:00:00 2001 From: robertphillips Date: Mon, 9 Jun 2014 06:25:34 -0700 Subject: Remove SkPicture::kUsePathBoundsForClip_RecordingFlag The real question is whether we ever want to record a picture without using the path bounds for a conservative (but faster) clip answer? R=reed@google.com, mtklein@google.com, djsollen@google.com, scroggo@google.com Author: robertphillips@google.com Review URL: https://codereview.chromium.org/316143003 --- include/core/SkPictureRecorder.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'include/core/SkPictureRecorder.h') diff --git a/include/core/SkPictureRecorder.h b/include/core/SkPictureRecorder.h index d9372d89d0..e9ddcf5958 100644 --- a/include/core/SkPictureRecorder.h +++ b/include/core/SkPictureRecorder.h @@ -29,10 +29,9 @@ public: @param recordFlags optional flags that control recording. @return the canvas. */ - // TODO: allow default parameters once the other beginRecoding entry point is gone SkCanvas* beginRecording(int width, int height, - SkBBHFactory* bbhFactory /* = NULL */, - uint32_t recordFlags /* = 0 */); + SkBBHFactory* bbhFactory = NULL, + uint32_t recordFlags = 0); /** Returns the recording canvas if one is active, or NULL if recording is not active. This does not alter the refcnt on the canvas (if present). -- cgit v1.2.3