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

Issue 345423003: The bounding check is duplicated. (Closed)

Created:
6 years, 6 months ago by zino
Modified:
6 years, 6 months ago
Reviewers:
fs, Justin Novosad
CC:
blink-reviews, aandrey+blink_chromium.org, blink-reviews-html_chromium.org, dglazkov+blink, Rik
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

The bounding check is duplicated. It was already checked by SkPathContainsPoint() [1]. [1] Source/platform/graphics/skia/SkiaUtils.cpp BUG=328961 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176772

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -3 lines) Patch
M Source/core/html/canvas/HitRegion.cpp View 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
zino
Simple clean up. I'm not sure whether this is correct. what do you think about ...
6 years, 6 months ago (2014-06-23 10:31:57 UTC) #1
fs
LGTM
6 years, 6 months ago (2014-06-23 11:26:25 UTC) #2
Justin Novosad
Yes. The contains method wraps SkPathContainsPoint, which starts with an early exit based on bounds. ...
6 years, 6 months ago (2014-06-23 13:45:45 UTC) #3
zino
The CQ bit was checked by jinho.bang@samsung.com
6 years, 6 months ago (2014-06-23 17:09:56 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jinho.bang@samsung.com/345423003/1
6 years, 6 months ago (2014-06-23 17:10:45 UTC) #5
commit-bot: I haz the power
6 years, 6 months ago (2014-06-23 18:12:18 UTC) #6
Message was sent while issue was closed.
Change committed as 176772

Powered by Google App Engine
This is Rietveld 408576698