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

Issue 1498683003: Teach SVGImageForContainer::imageForCurrentFrame about the URL (Closed)

Created:
5 years ago by davve
Modified:
5 years ago
Reviewers:
pdr., fs
CC:
blink-reviews, chromium-reviews, krit, f(malita), gyuyoung2, kouhei+svg_chromium.org, pdr+svgwatchlist_chromium.org, rwlbuis, Stephen Chennney
Base URL:
https://chromium.googlesource.com/chromium/src.git@drop-image-setcontainersize
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Teach SVGImageForContainer::imageForCurrentFrame about the URL Pass URL from SVGImageForContainer to SVGImage when fetching an snapshot for current frame. BUG=565282 Committed: https://crrev.com/e53ccb7b664054419f1564648f80839477d5b7b7 Cr-Commit-Position: refs/heads/master@{#363466}

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -17 lines) Patch
A + third_party/WebKit/LayoutTests/svg/canvas/canvas-draw-pattern-svg-fragment.html View 1 chunk +14 lines, -3 lines 0 comments Download
A + third_party/WebKit/LayoutTests/svg/canvas/canvas-draw-pattern-svg-fragment-expected.html View 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/svg/graphics/SVGImage.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp View 2 chunks +15 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.cpp View 1 chunk +1 line, -1 line 3 comments Download

Depends on Patchset:

Messages

Total messages: 14 (4 generated)
davve
Patterns use imageForCurrentFrame() to generated the pattern image. Might as well pass on the URL ...
5 years ago (2015-12-03 13:22:06 UTC) #2
fs
https://codereview.chromium.org/1498683003/diff/1/third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.cpp File third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.cpp (right): https://codereview.chromium.org/1498683003/diff/1/third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.cpp#newcode52 third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.cpp:52: return m_image->imageForCurrentFrameForContainer(m_url); Shouldn't we potentially be passing containerSize here ...
5 years ago (2015-12-03 15:45:19 UTC) #3
davve
Adding pdr too, in case something like this has come up before at some point. ...
5 years ago (2015-12-03 21:07:57 UTC) #5
fs
https://codereview.chromium.org/1498683003/diff/1/third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.cpp File third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.cpp (right): https://codereview.chromium.org/1498683003/diff/1/third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.cpp#newcode52 third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.cpp:52: return m_image->imageForCurrentFrameForContainer(m_url); On 2015/12/03 at 21:07:57, David Vest wrote: ...
5 years ago (2015-12-03 21:15:11 UTC) #6
pdr.
I can't think of this ever coming up before, but it seems like a good ...
5 years ago (2015-12-03 22:27:15 UTC) #7
fs
On 2015/12/03 at 22:27:15, pdr wrote: > I can't think of this ever coming up ...
5 years ago (2015-12-03 22:51:24 UTC) #8
fs
On 2015/12/03 at 22:51:24, fs wrote: > On 2015/12/03 at 22:27:15, pdr wrote: > > ...
5 years ago (2015-12-03 23:00:23 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1498683003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1498683003/1
5 years ago (2015-12-07 12:17:11 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years ago (2015-12-07 13:27:15 UTC) #12
commit-bot: I haz the power
5 years ago (2015-12-07 13:28:12 UTC) #14
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/e53ccb7b664054419f1564648f80839477d5b7b7
Cr-Commit-Position: refs/heads/master@{#363466}

Powered by Google App Engine
This is Rietveld 408576698