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

Issue 2716213002: ui: Fix cc/paint skia type mismatches (Closed)

Created:
3 years, 9 months ago by enne (OOO)
Modified:
3 years, 9 months ago
Reviewers:
danakj, sadrul
CC:
chromium-reviews, Matt Giuca, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ui: Fix cc/paint skia type mismatches This patch is part of this larger change here that will make SkCanvas/PaintCanvas, SkPaint/PaintFlags, and SkPicture/PaintRecord fully different types: https://codereview.chromium.org/2690583002 This patch fixes up spots where the wrong type is being used, and removes uses of setFlags(antialias). The only flag that's ever used in Chrome is the antialias flag, so this is trying to clean up the future PaintFlags API to not have to support setFlags. BUG=671433 Review-Url: https://codereview.chromium.org/2716213002 Cr-Commit-Position: refs/heads/master@{#453493} Committed: https://chromium.googlesource.com/chromium/src/+/aae3c56f6fc41fbbbb244da56fe52ce7b03c1ec6

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -113 lines) Patch
M ui/app_list/folder_image.cc View 1 chunk +5 lines, -5 lines 0 comments Download
M ui/app_list/views/app_list_item_view.cc View 1 chunk +5 lines, -5 lines 0 comments Download
M ui/app_list/views/app_list_view.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M ui/app_list/views/folder_background_view.cc View 1 chunk +5 lines, -6 lines 0 comments Download
M ui/app_list/views/page_switcher.cc View 2 chunks +7 lines, -7 lines 0 comments Download
M ui/app_list/views/search_box_view.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M ui/app_list/views/speech_view.cc View 1 chunk +5 lines, -5 lines 0 comments Download
M ui/gfx/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M ui/gfx/canvas.h View 1 chunk +0 lines, -8 lines 1 comment Download
M ui/gfx/canvas.cc View 1 chunk +0 lines, -8 lines 0 comments Download
M ui/gfx/color_analysis_unittest.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M ui/gfx/harfbuzz_font_skia.cc View 10 chunks +18 lines, -16 lines 1 comment Download
M ui/gfx/render_text_unittest.cc View 4 chunks +6 lines, -6 lines 0 comments Download
M ui/gfx/shadow_util.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M ui/native_theme/native_theme_base.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/native_theme/native_theme_base.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M ui/native_theme/native_theme_win.h View 2 chunks +6 lines, -5 lines 0 comments Download
M ui/native_theme/native_theme_win.cc View 11 chunks +20 lines, -21 lines 0 comments Download
M ui/views/controls/slider.cc View 1 chunk +2 lines, -2 lines 1 comment Download

Messages

Total messages: 12 (8 generated)
enne (OOO)
This should be pretty trivial overall. https://codereview.chromium.org/2716213002/diff/1/ui/gfx/canvas.h File ui/gfx/canvas.h (left): https://codereview.chromium.org/2716213002/diff/1/ui/gfx/canvas.h#oldcode272 ui/gfx/canvas.h:272: void DrawPoint(const Point& ...
3 years, 9 months ago (2017-02-27 01:56:21 UTC) #6
sadrul
lgtm
3 years, 9 months ago (2017-02-27 17:21:09 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2716213002/1
3 years, 9 months ago (2017-02-28 03:00:49 UTC) #9
commit-bot: I haz the power
3 years, 9 months ago (2017-02-28 04:28:40 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/aae3c56f6fc41fbbbb244da56fe5...

Powered by Google App Engine
This is Rietveld 408576698