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

Issue 1316163002: Make the LayoutRect->FloatRect constructor explicit. (Closed)

Created:
5 years, 3 months ago by chrishtr
Modified:
5 years, 3 months ago
Reviewers:
jbroman, eae
CC:
blink-reviews, blink-reviews-html_chromium.org, blink-reviews-paint_chromium.org, blink-reviews-rendering, Rik, danakj, dglazkov+blink, dshwang, drott+blinkwatch_chromium.org, krit, eae+blinkwatch, f(malita), fs, gyuyoung2, jchaffraix+rendering, Justin Novosad, kouhei+svg_chromium.org, leviw+renderwatch, pdr+svgwatchlist_chromium.org, pdr+graphicswatchlist_chromium.org, pdr+renderingwatchlist_chromium.org, rwlbuis, Stephen Chennney, slimming-paint-reviews_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Make the LayoutRect->FloatRect constructor explicit. In a couple of places, we now have a larger cull rect bound for drawing recorders because of using enclosingIntRect. This is always safe to do. BUG=524259 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201295

Patch Set 1 #

Total comments: 27

Patch Set 2 : #

Total comments: 37

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -40 lines) Patch
M Source/core/html/HTMLCanvasElement.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/layout/LayoutBlock.cpp View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M Source/core/layout/LayoutInline.cpp View 1 5 chunks +23 lines, -1 line 0 comments Download
M Source/core/layout/svg/LayoutSVGBlock.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/paint/DeprecatedPaintLayer.cpp View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M Source/core/paint/DeprecatedPaintLayerClipper.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/paint/DeprecatedPaintLayerPainter.cpp View 1 2 3 4 5 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/paint/DeprecatedPaintLayerScrollableArea.cpp View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M Source/core/paint/EllipsisBoxPainter.cpp View 2 chunks +4 lines, -4 lines 0 comments Download
M Source/core/paint/EmbeddedObjectPainter.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/paint/FieldsetPainter.cpp View 1 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/paint/FilterPainter.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/paint/FramePainter.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/paint/InlineFlowBoxPainter.cpp View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/paint/LayerClipRecorderTest.cpp View 3 chunks +4 lines, -5 lines 0 comments Download
M Source/core/paint/LayoutObjectDrawingRecorder.h View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M Source/core/paint/LayoutObjectDrawingRecorderTest.cpp View 1 2 3 4 6 chunks +6 lines, -6 lines 0 comments Download
M Source/core/paint/SVGFilterPainter.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/paint/TableCellPainter.cpp View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M Source/core/paint/TablePainter.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/paint/TextPainter.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/paint/VideoPainter.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M Source/platform/geometry/FloatRect.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 30 (13 generated)
chrishtr
5 years, 3 months ago (2015-08-26 18:31:33 UTC) #2
eae
LGTM
5 years, 3 months ago (2015-08-26 18:37:20 UTC) #3
jbroman
Reviewed the first part; a number of lines of code affected by the root concern: ...
5 years, 3 months ago (2015-08-26 19:06:44 UTC) #4
chrishtr
https://codereview.chromium.org/1316163002/diff/1/Source/core/layout/LayoutInline.cpp File Source/core/layout/LayoutInline.cpp (right): https://codereview.chromium.org/1316163002/diff/1/Source/core/layout/LayoutInline.cpp#newcode687 Source/core/layout/LayoutInline.cpp:687: m_quads.append(m_geometryMap.absoluteRect(FloatRect(rect))); On 2015/08/26 at 19:06:43, jbroman wrote: > nit: ...
5 years, 3 months ago (2015-08-26 20:53:52 UTC) #5
jbroman
lgtm https://codereview.chromium.org/1316163002/diff/20001/Source/core/paint/EmbeddedObjectPainter.cpp File Source/core/paint/EmbeddedObjectPainter.cpp (right): https://codereview.chromium.org/1316163002/diff/20001/Source/core/paint/EmbeddedObjectPainter.cpp#newcode52 Source/core/paint/EmbeddedObjectPainter.cpp:52: LayoutObjectDrawingRecorder drawingRecorder(*context, m_layoutEmbeddedObject, paintInfo.phase, LayoutRect(enclosingIntRect(contentRect))); Can just use ...
5 years, 3 months ago (2015-08-26 21:45:09 UTC) #6
jbroman
lgtm
5 years, 3 months ago (2015-08-26 21:45:11 UTC) #7
jbroman
On 2015/08/26 at 21:45:11, jbroman wrote: > lgtm (Why'd I get two messages? Anyhow, looks ...
5 years, 3 months ago (2015-08-26 21:46:24 UTC) #8
chrishtr
https://codereview.chromium.org/1316163002/diff/20001/Source/core/paint/EmbeddedObjectPainter.cpp File Source/core/paint/EmbeddedObjectPainter.cpp (right): https://codereview.chromium.org/1316163002/diff/20001/Source/core/paint/EmbeddedObjectPainter.cpp#newcode52 Source/core/paint/EmbeddedObjectPainter.cpp:52: LayoutObjectDrawingRecorder drawingRecorder(*context, m_layoutEmbeddedObject, paintInfo.phase, LayoutRect(enclosingIntRect(contentRect))); On 2015/08/26 at 21:45:08, ...
5 years, 3 months ago (2015-08-26 22:32:22 UTC) #9
jbroman
lgtm https://codereview.chromium.org/1316163002/diff/20001/Source/core/paint/SVGFilterPainter.cpp File Source/core/paint/SVGFilterPainter.cpp (right): https://codereview.chromium.org/1316163002/diff/20001/Source/core/paint/SVGFilterPainter.cpp#newcode190 Source/core/paint/SVGFilterPainter.cpp:190: LayoutObjectDrawingRecorder recorder(*context, object, DisplayItem::SVGFilter, LayoutRect(LayoutRect::infiniteIntRect())); On 2015/08/26 at ...
5 years, 3 months ago (2015-08-26 22:33:55 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1316163002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1316163002/40001
5 years, 3 months ago (2015-08-26 22:37:20 UTC) #13
chrishtr
On 2015/08/26 at 22:33:55, jbroman wrote: > lgtm > > https://codereview.chromium.org/1316163002/diff/20001/Source/core/paint/SVGFilterPainter.cpp > File Source/core/paint/SVGFilterPainter.cpp (right): ...
5 years, 3 months ago (2015-08-26 22:41:27 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1316163002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1316163002/60001
5 years, 3 months ago (2015-08-26 22:41:52 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_dbg on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_compile_dbg/builds/52868)
5 years, 3 months ago (2015-08-26 23:05:55 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1316163002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1316163002/80001
5 years, 3 months ago (2015-08-26 23:24:41 UTC) #23
commit-bot: I haz the power
Failed to apply patch for Source/core/paint/DeprecatedPaintLayerPainter.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
5 years, 3 months ago (2015-08-27 00:51:23 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1316163002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1316163002/100001
5 years, 3 months ago (2015-08-27 04:32:37 UTC) #29
commit-bot: I haz the power
5 years, 3 months ago (2015-08-27 07:55:22 UTC) #30
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=201295

Powered by Google App Engine
This is Rietveld 408576698