diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-08-16 20:53:31 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-08-16 20:53:31 +0000 |
commit | 3b3e895df6f8ee0f33010367c215944cd16a8334 (patch) | |
tree | 49a2ae19700aa2d441bd688802369d33153b2070 /src/views | |
parent | b6204b1ec4e4940db94bc40d4283ee77729170d6 (diff) |
remove EdgeType enum. Unimportant distinction, and removing speeds up quickReject
Review URL: https://codereview.appspot.com/6448161
git-svn-id: http://skia.googlecode.com/svn/trunk@5140 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/views')
-rw-r--r-- | src/views/SkView.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/views/SkView.cpp b/src/views/SkView.cpp index dae47d6f7c..eb93198240 100644 --- a/src/views/SkView.cpp +++ b/src/views/SkView.cpp @@ -109,7 +109,7 @@ void SkView::draw(SkCanvas* canvas) SkRect r; r.set(fLoc.fX, fLoc.fY, fLoc.fX + fWidth, fLoc.fY + fHeight); if (this->isClipToBounds() && - canvas->quickReject(r, SkCanvas::kBW_EdgeType)) { + canvas->quickReject(r)) { return; } |