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

Issue 1303453003: Incorrect LocalFrame::paintIntoDragImage picture bounds (Closed)

Created:
5 years, 4 months ago by f(malita)
Modified:
5 years, 4 months ago
CC:
blink-reviews
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Incorrect LocalFrame::paintIntoDragImage picture bounds LocalFrame::paintIntoDragImage() translates the content to be origin- aligned, but leaves the picture bounds unchanged => the picture content lies outside the declared picture cull rect. We need to also shift the picture bounds, to keep them aligned with its content. R=junov@chromium.org,mtklein@chromium.org BUG=522143 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200763

Patch Set 1 #

Patch Set 2 : updated #

Total comments: 4

Patch Set 3 : review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -1 line) Patch
M Source/core/frame/LocalFrame.cpp View 1 2 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 11 (2 generated)
f(malita)
This was exposed by http://crrev.com/1264133003: it broke a handful of unit tests when attempting to ...
5 years, 4 months ago (2015-08-18 13:02:39 UTC) #2
mtklein_C
https://codereview.chromium.org/1303453003/diff/20001/Source/core/frame/LocalFrame.cpp File Source/core/frame/LocalFrame.cpp (right): https://codereview.chromium.org/1303453003/diff/20001/Source/core/frame/LocalFrame.cpp#newcode601 Source/core/frame/LocalFrame.cpp:601: SkPictureBuilder pictureBuilder(FloatRect(FloatPoint(), paintingRect.size())); Think it's worth adding a note ...
5 years, 4 months ago (2015-08-18 14:07:06 UTC) #3
Justin Novosad
https://codereview.chromium.org/1303453003/diff/20001/Source/core/frame/LocalFrame.cpp File Source/core/frame/LocalFrame.cpp (right): https://codereview.chromium.org/1303453003/diff/20001/Source/core/frame/LocalFrame.cpp#newcode607 Source/core/frame/LocalFrame.cpp:607: transform.translate(-paintingRect.x(), -paintingRect.y()); I suppose this is the transaction to ...
5 years, 4 months ago (2015-08-18 14:36:33 UTC) #4
Justin Novosad
Um, I obviously meant "translation" not "transaction"
5 years, 4 months ago (2015-08-18 15:11:00 UTC) #5
f(malita)
https://codereview.chromium.org/1303453003/diff/20001/Source/core/frame/LocalFrame.cpp File Source/core/frame/LocalFrame.cpp (right): https://codereview.chromium.org/1303453003/diff/20001/Source/core/frame/LocalFrame.cpp#newcode601 Source/core/frame/LocalFrame.cpp:601: SkPictureBuilder pictureBuilder(FloatRect(FloatPoint(), paintingRect.size())); On 2015/08/18 14:07:06, mtklein_C wrote: > ...
5 years, 4 months ago (2015-08-18 17:40:14 UTC) #6
Justin Novosad
lgtm
5 years, 4 months ago (2015-08-18 18:13:33 UTC) #7
mtklein_C
lgtm
5 years, 4 months ago (2015-08-18 18:33:05 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1303453003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1303453003/40001
5 years, 4 months ago (2015-08-18 20:59:35 UTC) #10
commit-bot: I haz the power
5 years, 4 months ago (2015-08-18 22:55:58 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=200763

Powered by Google App Engine
This is Rietveld 408576698