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

Issue 1814473003: Revert of Add sk_sp helpers and switch Blink SkShader clients to the new APIs (Closed)

Created:
4 years, 9 months ago by fgorski
Modified:
4 years, 9 months ago
CC:
blink-reviews, blink-reviews-layout_chromium.org, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, eae+blinkwatch, fs, gyuyoung2, jchaffraix+rendering, Justin Novosad, kinuko+watch, kouhei+svg_chromium.org, leviw+renderwatch, pdr+svgwatchlist_chromium.org, pdr+graphicswatchlist_chromium.org, pdr+renderingwatchlist_chromium.org, rwlbuis, Stephen Chennney, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Add sk_sp helpers and switch Blink SkShader clients to the new APIs (patchset #7 id:120001 of https://codereview.chromium.org/1789063005/ ) Reason for revert: Suspecting this patch to have caused the compilation failure: https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Win%20non-Oilpan/builds/811 https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Win%20non-Oilpan/builds/811/steps/compile/logs/stdio Original issue's description: > Add sk_sp helpers and switch Blink SkShader clients to the new APIs > > Introduce a couple of Skia utilities to support PassRefPtr <-> sk_sp > interoperability: > > * adoptRef(sk_sp<T>) - for adopting sk_sps rvals into PassRevPtr > (when transferring ownership from Skia->Blink) > * adoptSkSp(PassRefPtr<T>) - for adopting PassRefPtr rvals into sk_sp > (when transferring ownership from Blink->Skia) > > Update clients to use the new Skia shader factories ("makers" vs. prev > "creators"), and sk_sp-based setters. > > A tangential change: deconstify SkPicture fields/args to align with the new > Skia APIs (SkPicture is inherently const - no non-cost methods - and Skia now > expects non-const SkPicture args). > > BUG=skia:5077 > R=jbroman@chromium.org,reed@google.com,senorblanco@chromium.org > > Committed: https://crrev.com/2df3d4433fc756f1297c4e0ced6524cbfcba9571 > Cr-Commit-Position: refs/heads/master@{#381563} TBR=jbroman@chromium.org,bungeman@chromium.org,reed@google.com,senorblanco@chromium.org,danakj@chromium.org,fmalita@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia:5077 Committed: https://crrev.com/12ebe1b82f24c532bb6695c1fb2a979dfccb4d79 Cr-Commit-Position: refs/heads/master@{#381575}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -118 lines) Patch
M third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePattern.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePattern.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp View 1 chunk +5 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/GeneratedImage.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/Gradient.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/Gradient.cpp View 2 chunks +9 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/GraphicsContext.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp View 2 chunks +5 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/Image.cpp View 3 chunks +9 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/ImagePattern.cpp View 3 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/Pattern.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/Pattern.cpp View 3 chunks +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/PicturePattern.h View 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/PicturePattern.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/SkPictureBuilder.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/skia/SkiaUtils.h View 2 chunks +0 lines, -72 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
fgorski
Created Revert of Add sk_sp helpers and switch Blink SkShader clients to the new APIs
4 years, 9 months ago (2016-03-16 23:11:38 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1814473003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1814473003/1
4 years, 9 months ago (2016-03-16 23:12:03 UTC) #2
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 9 months ago (2016-03-16 23:12:51 UTC) #4
commit-bot: I haz the power
4 years, 9 months ago (2016-03-16 23:15:50 UTC) #6
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/12ebe1b82f24c532bb6695c1fb2a979dfccb4d79
Cr-Commit-Position: refs/heads/master@{#381575}

Powered by Google App Engine
This is Rietveld 408576698