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

Issue 328163003: Inline FloatRect::operator SkRect. (Closed)

Created:
6 years, 6 months ago by jbroman
Modified:
6 years, 6 months ago
CC:
blink-reviews, jamesr, krit, jbroman, danakj, Rik, Stephen Chennney, pdr., rwlbuis
Visibility:
Public.

Description

Inline FloatRect::operator SkRect. This is somewhat hot (about 0.8% of samples while painting glyphs), is really trivial once inlined (a few moves and a few adds). SkRect.h is a pretty lightweight header, so this shouldn't affect build times very much. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175974

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -9 lines) Patch
M Source/platform/geometry/FloatRect.h View 3 chunks +2 lines, -3 lines 0 comments Download
M Source/platform/geometry/FloatRect.cpp View 1 chunk +0 lines, -6 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
jbroman
It might be better ultimately to hold SkRect in FloatRect, but this takes care of ...
6 years, 6 months ago (2014-06-11 19:18:58 UTC) #1
f(malita)
LGTM!
6 years, 6 months ago (2014-06-11 19:20:29 UTC) #2
jbroman
The CQ bit was checked by jbroman@chromium.org
6 years, 6 months ago (2014-06-11 19:23:40 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbroman@chromium.org/328163003/1
6 years, 6 months ago (2014-06-11 19:24:12 UTC) #4
commit-bot: I haz the power
6 years, 6 months ago (2014-06-11 19:26:58 UTC) #5
Message was sent while issue was closed.
Change committed as 175974

Powered by Google App Engine
This is Rietveld 408576698