Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(322)

Issue 18552004: Remove SkRasterClip::setPath(const SkPath&, const SkRasterClip&, bool). (Closed)

Created:
7 years, 5 months ago by f(malita)
Modified:
7 years, 5 months ago
Reviewers:
reed1
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Remove SkRasterClip::setPath(const SkPath&, const SkRasterClip&, bool). The method is only used in SkCanvas::clipPathHelper() and only called when isRect() is true (which effectively disables the !isBW branch). Thus, we can promote the isBW branch to the caller and drop the rest of the method. R=reed@google.com Committed: http://code.google.com/p/skia/source/detail?r=9974

Patch Set 1 #

Patch Set 2 : Revert isBW() back to isRect(). #

Patch Set 3 : Added some comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -16 lines) Patch
M src/core/SkCanvas.cpp View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M src/core/SkRasterClip.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/core/SkRasterClip.cpp View 1 chunk +0 lines, -14 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
f(malita)
7 years, 5 months ago (2013-07-02 19:59:53 UTC) #1
f(malita)
Relaxing the conditional from currClip->isRect() to currClip->isBW() is triggering asserts: GM: drawing... complexclip2_path_bw [370 370] ...
7 years, 5 months ago (2013-07-03 14:55:07 UTC) #2
f(malita)
Added comments as discussed, PTAL.
7 years, 5 months ago (2013-07-10 18:47:45 UTC) #3
reed1
lgtm
7 years, 5 months ago (2013-07-10 20:39:51 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/fmalita@chromium.org/18552004/13001
7 years, 5 months ago (2013-07-10 20:43:31 UTC) #5
commit-bot: I haz the power
7 years, 5 months ago (2013-07-10 20:55:40 UTC) #6
Message was sent while issue was closed.
Change committed as 9974

Powered by Google App Engine
This is Rietveld 408576698