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

Issue 2716203002: blink: Fix cc/paint skia type mismatches (Closed)

Created:
3 years, 9 months ago by enne (OOO)
Modified:
3 years, 9 months ago
Reviewers:
pdr., Stephen White
CC:
ajuma+watch-canvas_chromium.org, ajuma+watch_chromium.org, apavlov+blink_chromium.org, blink-layers+watch_chromium.org, blink-reviews, blink-reviews-html_chromium.org, blink-reviews-paint_chromium.org, blink-reviews-platform-graphics_chromium.org, Rik, caseq+blink_chromium.org, chromium-reviews, danakj, danakj+watch_chromium.org, devtools-reviews_chromium.org, dglazkov+blink, dshwang, drott+blinkwatch_chromium.org, krit, eric.carlson_apple.com, feature-media-reviews_chromium.org, fmalita+watch_chromium.org, fs, gasubic, gyuyoung2, haraken, jbroman, Justin Novosad, kinuko+watch, kouhei+svg_chromium.org, kozyatinskiy+blink_chromium.org, lushnikov+blink_chromium.org, mlamouri+watch-blink_chromium.org, pdr+graphicswatchlist_chromium.org, pdr+svgwatchlist_chromium.org, pfeldman+blink_chromium.org, rwlbuis, Stephen Chennney, nessy, Srirama
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

blink: 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 some unnecessary pass through canvases. This is a mostly trivial change. BUG=671433 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2716203002 Cr-Commit-Position: refs/heads/master@{#453521} Committed: https://chromium.googlesource.com/chromium/src/+/6b6094a419b2d7e45a7ec9dccda1cd5398090c91

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fix canvas #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -79 lines) Patch
M third_party/WebKit/Source/core/frame/ImageBitmap.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/frame/LocalFrame.cpp View 4 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/shadow/MediaControlsOrientationLockDelegateTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/FilterEffectBuilder.h View 2 chunks +6 lines, -6 lines 2 comments Download
M third_party/WebKit/Source/core/paint/FilterEffectBuilder.cpp View 2 chunks +9 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/svg/graphics/SVGImage.h View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.h View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.cpp View 1 1 chunk +8 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/modules/canvas2d/BaseRenderingContext2D.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/fonts/Font.cpp View 4 chunks +10 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/DeferredImageDecoderTest.cpp View 5 chunks +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/GradientGeneratedImage.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/GraphicsContextTest.cpp View 2 chunks +2 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp View 2 chunks +2 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/Image.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurfaceTest.cpp View 3 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/filters/SkiaImageFilterBuilder.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.cpp View 2 chunks +8 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/DrawingRecorder.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/skia/SkiaUtils.h View 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebViewTest.cpp View 1 chunk +2 lines, -4 lines 0 comments Download

Messages

Total messages: 21 (15 generated)
enne (OOO)
https://codereview.chromium.org/2716203002/diff/1/third_party/WebKit/Source/platform/fonts/Font.cpp File third_party/WebKit/Source/platform/fonts/Font.cpp (right): https://codereview.chromium.org/2716203002/diff/1/third_party/WebKit/Source/platform/fonts/Font.cpp#newcode407 third_party/WebKit/Source/platform/fonts/Font.cpp:407: SkPaint paint(ToSkPaint(flags)); This is changing back because I think ...
3 years, 9 months ago (2017-02-27 05:17:00 UTC) #13
Stephen White
LGTM https://codereview.chromium.org/2716203002/diff/20001/third_party/WebKit/Source/core/paint/FilterEffectBuilder.h File third_party/WebKit/Source/core/paint/FilterEffectBuilder.h (right): https://codereview.chromium.org/2716203002/diff/20001/third_party/WebKit/Source/core/paint/FilterEffectBuilder.h#newcode53 third_party/WebKit/Source/core/paint/FilterEffectBuilder.h:53: const PaintFlags* fillFlags = nullptr, Naming nit: while ...
3 years, 9 months ago (2017-02-27 13:44:59 UTC) #14
enne (OOO)
https://codereview.chromium.org/2716203002/diff/20001/third_party/WebKit/Source/core/paint/FilterEffectBuilder.h File third_party/WebKit/Source/core/paint/FilterEffectBuilder.h (right): https://codereview.chromium.org/2716203002/diff/20001/third_party/WebKit/Source/core/paint/FilterEffectBuilder.h#newcode53 third_party/WebKit/Source/core/paint/FilterEffectBuilder.h:53: const PaintFlags* fillFlags = nullptr, On 2017/02/27 at 13:44:59, ...
3 years, 9 months ago (2017-02-27 17:42:38 UTC) #15
pdr.
On 2017/02/27 at 17:42:38, enne wrote: > https://codereview.chromium.org/2716203002/diff/20001/third_party/WebKit/Source/core/paint/FilterEffectBuilder.h > File third_party/WebKit/Source/core/paint/FilterEffectBuilder.h (right): > > https://codereview.chromium.org/2716203002/diff/20001/third_party/WebKit/Source/core/paint/FilterEffectBuilder.h#newcode53 ...
3 years, 9 months ago (2017-02-27 23:22:41 UTC) #16
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/2716203002/20001
3 years, 9 months ago (2017-02-28 02:51:12 UTC) #18
commit-bot: I haz the power
3 years, 9 months ago (2017-02-28 06:23:32 UTC) #21
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/6b6094a419b2d7e45a7ec9dccda1...

Powered by Google App Engine
This is Rietveld 408576698