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

Issue 444983002: Remove unnecessary static function (Closed)

Created:
6 years, 4 months ago by hj.r.chung
Modified:
6 years, 4 months ago
Reviewers:
danakj, enne (OOO)
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Remove unnecessary static function Use gfx::CrossProduct() instead of defining a new static function. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288372

Patch Set 1 #

Total comments: 2

Patch Set 2 : added statc cast #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -12 lines) Patch
M cc/trees/layer_sorter.h View 1 chunk +4 lines, -4 lines 0 comments Download
M cc/trees/layer_sorter.cc View 1 3 chunks +3 lines, -8 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
hj.r.chung
this is a simple cleanup patch. ptal!
6 years, 4 months ago (2014-08-06 12:15:42 UTC) #1
danakj
https://codereview.chromium.org/444983002/diff/1/cc/trees/layer_sorter.cc File cc/trees/layer_sorter.cc (right): https://codereview.chromium.org/444983002/diff/1/cc/trees/layer_sorter.cc#newcode37 cc/trees/layer_sorter.cc:37: float denom = gfx::CrossProduct(u, v); this method returns a ...
6 years, 4 months ago (2014-08-06 13:45:55 UTC) #2
hj.r.chung
https://codereview.chromium.org/444983002/diff/1/cc/trees/layer_sorter.cc File cc/trees/layer_sorter.cc (right): https://codereview.chromium.org/444983002/diff/1/cc/trees/layer_sorter.cc#newcode37 cc/trees/layer_sorter.cc:37: float denom = gfx::CrossProduct(u, v); On 2014/08/06 13:45:55, danakj ...
6 years, 4 months ago (2014-08-07 01:55:12 UTC) #3
danakj
On Wed, Aug 6, 2014 at 9:55 PM, <heejin.r.chung@samsung.com> wrote: > > https://codereview.chromium.org/444983002/diff/1/cc/trees/layer_sorter.cc > File ...
6 years, 4 months ago (2014-08-07 14:16:03 UTC) #4
hj.r.chung
On 2014/08/07 14:16:03, danakj wrote: > On Wed, Aug 6, 2014 at 9:55 PM, <mailto:heejin.r.chung@samsung.com> ...
6 years, 4 months ago (2014-08-08 01:46:51 UTC) #5
danakj
LGTM
6 years, 4 months ago (2014-08-08 13:37:13 UTC) #6
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 4 months ago (2014-08-08 13:37:16 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/heejin.r.chung@samsung.com/444983002/20001
6 years, 4 months ago (2014-08-08 13:38:25 UTC) #8
commit-bot: I haz the power
Change committed as 288372
6 years, 4 months ago (2014-08-08 16:16:35 UTC) #9
hj.r.chung
On 2014/08/08 13:37:13, danakj wrote: > LGTM thanks!
6 years, 4 months ago (2014-08-09 01:28:46 UTC) #10
danakj
6 years, 4 months ago (2014-08-14 17:39:14 UTC) #11
Message was sent while issue was closed.
A revert of this CL (patchset #2) has been created in
https://codereview.chromium.org/471113002/ by danakj@chromium.org.

The reason for reverting is: Perf regression, due to the method no longer being
inline, and using doubles instead of floats..

Powered by Google App Engine
This is Rietveld 408576698