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

Issue 11410025: ui: Add SkIRectToRect() function to convert from SkIRect type to gfx::Rect. (Closed)

Created:
8 years, 1 month ago by tfarina
Modified:
8 years, 1 month ago
Reviewers:
danakj, sky
CC:
chromium-reviews, cc-bugs_chromium.org
Visibility:
Public.

Description

ui: Add SkIRectToRect() function to convert from SkIRect type to gfx::Rect. This fixes the 3 TODOs for Dana from region.* TEST=cc_unittests,ui_unittests R=danakj@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=167244

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Patch Set 3 : fix typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -30 lines) Patch
M cc/region.h View 1 2 3 chunks +7 lines, -7 lines 0 comments Download
M cc/region.cc View 1 7 chunks +7 lines, -13 lines 0 comments Download
M ui/gfx/skia_util.h View 1 chunk +4 lines, -3 lines 0 comments Download
M ui/gfx/skia_util.cc View 1 chunk +11 lines, -7 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
tfarina
Hi Dana, could you review this to me?
8 years, 1 month ago (2012-11-10 20:12:53 UTC) #1
danakj
http://codereview.chromium.org/11410025/diff/1/cc/region.h File cc/region.h (right): http://codereview.chromium.org/11410025/diff/1/cc/region.h#newcode13 cc/region.h:13: #include "ui/gfx/skia_util.h" sort order http://codereview.chromium.org/11410025/diff/1/cc/region.h#newcode46 cc/region.h:46: bool Equals(const Region& ...
8 years, 1 month ago (2012-11-11 18:57:02 UTC) #2
tfarina
http://codereview.chromium.org/11410025/diff/1/cc/region.h File cc/region.h (right): http://codereview.chromium.org/11410025/diff/1/cc/region.h#newcode46 cc/region.h:46: bool Equals(const Region& other) const; On 2012/11/11 18:57:02, danakj ...
8 years, 1 month ago (2012-11-11 19:43:25 UTC) #3
danakj
lgtm after that. http://codereview.chromium.org/11410025/diff/1/cc/region.h File cc/region.h (right): http://codereview.chromium.org/11410025/diff/1/cc/region.h#newcode46 cc/region.h:46: bool Equals(const Region& other) const; On ...
8 years, 1 month ago (2012-11-11 19:45:45 UTC) #4
tfarina
https://codereview.chromium.org/11410025/diff/1/cc/region.h File cc/region.h (right): https://codereview.chromium.org/11410025/diff/1/cc/region.h#newcode13 cc/region.h:13: #include "ui/gfx/skia_util.h" On 2012/11/11 18:57:02, danakj wrote: > sort ...
8 years, 1 month ago (2012-11-11 19:58:14 UTC) #5
tfarina
Hi Scott, could you review the ui/gfx addition for me?
8 years, 1 month ago (2012-11-11 19:59:39 UTC) #6
sky
8 years, 1 month ago (2012-11-12 04:22:31 UTC) #7
LGTM

Powered by Google App Engine
This is Rietveld 408576698