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

Issue 1536803003: Drop SkPathContainsPoint in favor of SkPath::contains (Closed)

Created:
5 years ago by fs
Modified:
5 years ago
Reviewers:
pdr., f(malita)
CC:
blink-reviews, blink-reviews-platform-graphics_chromium.org, Rik, caryclark, chromium-reviews, danakj, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), jbroman, Justin Novosad, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney, vmpstr+blinkwatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Drop SkPathContainsPoint in favor of SkPath::contains This will increase the fidelity in some cases when hit-testing. BUG=373638, 523102 Committed: https://crrev.com/fc2a4e253b958798ef04069083ba19ae79fde296 Cr-Commit-Position: refs/heads/master@{#366141}

Patch Set 1 #

Patch Set 2 : Simplify. #

Total comments: 3

Patch Set 3 : Less ugly. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -54 lines) Patch
M third_party/WebKit/Source/platform/graphics/Path.cpp View 1 2 2 chunks +11 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/skia/SkiaUtils.h View 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/skia/SkiaUtils.cpp View 1 2 chunks +0 lines, -48 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
fs
Thanks to some bug fixing by Cary, all layout tests seem to pass when using ...
5 years ago (2015-12-18 15:43:44 UTC) #2
f(malita)
Nice! https://codereview.chromium.org/1536803003/diff/20001/third_party/WebKit/Source/platform/graphics/Path.cpp File third_party/WebKit/Source/platform/graphics/Path.cpp (right): https://codereview.chromium.org/1536803003/diff/20001/third_party/WebKit/Source/platform/graphics/Path.cpp#newcode83 third_party/WebKit/Source/platform/graphics/Path.cpp:83: const_cast<SkPath&>(m_path).setFillType(WebCoreWindRuleToSkFillType(rule)); On 2015/12/18 15:43:44, fs wrote: > Yes, ...
5 years ago (2015-12-18 15:56:22 UTC) #3
fs
https://codereview.chromium.org/1536803003/diff/20001/third_party/WebKit/Source/platform/graphics/Path.cpp File third_party/WebKit/Source/platform/graphics/Path.cpp (right): https://codereview.chromium.org/1536803003/diff/20001/third_party/WebKit/Source/platform/graphics/Path.cpp#newcode83 third_party/WebKit/Source/platform/graphics/Path.cpp:83: const_cast<SkPath&>(m_path).setFillType(WebCoreWindRuleToSkFillType(rule)); On 2015/12/18 at 15:56:22, f(malita) wrote: > On ...
5 years ago (2015-12-18 16:48:02 UTC) #4
pdr.
On 2015/12/18 at 16:48:02, fs wrote: > https://codereview.chromium.org/1536803003/diff/20001/third_party/WebKit/Source/platform/graphics/Path.cpp > File third_party/WebKit/Source/platform/graphics/Path.cpp (right): > > https://codereview.chromium.org/1536803003/diff/20001/third_party/WebKit/Source/platform/graphics/Path.cpp#newcode83 ...
5 years ago (2015-12-18 19:00:06 UTC) #5
f(malita)
lgtm
5 years ago (2015-12-18 19:10:46 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1536803003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1536803003/40001
5 years ago (2015-12-18 19:11:16 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years ago (2015-12-18 19:17:35 UTC) #9
commit-bot: I haz the power
5 years ago (2015-12-18 19:18:25 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/fc2a4e253b958798ef04069083ba19ae79fde296
Cr-Commit-Position: refs/heads/master@{#366141}

Powered by Google App Engine
This is Rietveld 408576698