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

Issue 696523003: [New Multicolumn] Use the return value from flipForWritingMode(). (Closed)

Created:
6 years, 1 month ago by mstensho (USE GERRIT)
Modified:
6 years, 1 month ago
CC:
blink-reviews, blink-reviews-rendering, chromiumbugtracker_adobe.com, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

[New Multicolumn] Use the return value from flipForWritingMode(). flipForWritingMode() comes in at least two flavors; one that takes a LayoutRect& and one that takes a LayoutSize&. The one that takes LayoutRect puts the result in the reference passed (and returns nothing). The one that takes LayoutSize leaves the reference passed untouched (after all, it's const) and returns the result. Not confusing at all. Better not ignore the returned value when using the LayoutSize version. This fixes fast/multicol/vertical-rl/composited-relpos-overlapping-will-change.html BUG=359877 R=jchaffraix@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=184757

Patch Set 1 #

Patch Set 2 : Use WARN_UNUSED_RETURN. #

Patch Set 3 : rebase master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -7 lines) Patch
M LayoutTests/TestExpectations View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/rendering/RenderBox.h View 1 2 chunks +4 lines, -4 lines 0 comments Download
M Source/core/rendering/RenderMultiColumnFlowThread.cpp View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
mstensho (USE GERRIT)
This makes the vertical-rl test added in https://codereview.chromium.org/655003005/ pass.
6 years, 1 month ago (2014-10-30 22:16:03 UTC) #1
Julien - ping for review
lgtm This patch should mark the confusing flipForWritingMode with WARN_UNUSED_RETURN.
6 years, 1 month ago (2014-10-31 17:56:37 UTC) #2
mstensho (USE GERRIT)
On 2014/10/31 17:56:37, Julien Chaffraix - PST wrote: > lgtm > > This patch should ...
6 years, 1 month ago (2014-10-31 21:46:35 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/696523003/20001
6 years, 1 month ago (2014-10-31 21:47:29 UTC) #5
commit-bot: I haz the power
Failed to apply patch for LayoutTests/TestExpectations: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 1 month ago (2014-10-31 21:47:38 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/696523003/40001
6 years, 1 month ago (2014-10-31 21:54:28 UTC) #9
commit-bot: I haz the power
6 years, 1 month ago (2014-10-31 23:12:41 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as 184757

Powered by Google App Engine
This is Rietveld 408576698