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

Issue 894393003: Constify and use reference for RenderStyle in LayoutTheme (Closed)

Created:
5 years, 10 months ago by Julien - ping for review
Modified:
5 years, 10 months ago
Reviewers:
dsinclair
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, blink-reviews-rendering, dglazkov+blink, Dominik Röttsches, eae+blinkwatch, ed+blinkwatch_opera.com, eric.carlson_apple.com, feature-media-reviews_chromium.org, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, philipj_slow, rwlbuis, zoltan1
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Constify and use reference for RenderStyle in LayoutTheme As part of this change, fixed some functions to take a constant reference as they were not expected to modify the RenderStyle. Another step towards making RenderObject::style() return a const RenderStyle. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189565

Patch Set 1 #

Total comments: 18

Patch Set 2 : Fix Mac take I. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+394 lines, -393 lines) Patch
M Source/core/css/resolver/StyleAdjuster.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/layout/LayoutSlider.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/layout/LayoutSliderThumb.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/layout/LayoutSliderThumb.cpp View 1 chunk +7 lines, -7 lines 0 comments Download
M Source/core/layout/LayoutTheme.h View 8 chunks +28 lines, -28 lines 0 comments Download
M Source/core/layout/LayoutTheme.cpp View 1 18 chunks +102 lines, -102 lines 0 comments Download
M Source/core/layout/LayoutThemeChromiumAndroid.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/layout/LayoutThemeChromiumAndroid.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/layout/LayoutThemeChromiumDefault.h View 4 chunks +6 lines, -6 lines 0 comments Download
M Source/core/layout/LayoutThemeChromiumDefault.cpp View 6 chunks +24 lines, -24 lines 0 comments Download
M Source/core/layout/LayoutThemeChromiumMac.h View 1 8 chunks +23 lines, -23 lines 0 comments Download
M Source/core/layout/LayoutThemeChromiumMac.mm View 1 24 chunks +117 lines, -117 lines 0 comments Download
M Source/core/layout/LayoutThemeChromiumSkia.h View 4 chunks +18 lines, -18 lines 0 comments Download
M Source/core/layout/LayoutThemeChromiumSkia.cpp View 12 chunks +33 lines, -33 lines 0 comments Download
M Source/core/rendering/RenderMediaControls.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderMediaControls.cpp View 7 chunks +11 lines, -11 lines 0 comments Download
M Source/core/rendering/RenderMenuList.cpp View 2 chunks +15 lines, -15 lines 0 comments Download
M Source/core/rendering/RenderObject.h View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 7 (2 generated)
Julien - ping for review
Another fun change :-)
5 years, 10 months ago (2015-02-04 21:20:34 UTC) #2
dsinclair
lgtm. Pointed out a few more possible consts. https://codereview.chromium.org/894393003/diff/1/Source/core/layout/LayoutTheme.cpp File Source/core/layout/LayoutTheme.cpp (right): https://codereview.chromium.org/894393003/diff/1/Source/core/layout/LayoutTheme.cpp#newcode563 Source/core/layout/LayoutTheme.cpp:563: bool ...
5 years, 10 months ago (2015-02-04 21:59:29 UTC) #3
Julien - ping for review
Thanks for the review. Your comments match the version 2 of the change that was ...
5 years, 10 months ago (2015-02-04 22:32:18 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/894393003/20001
5 years, 10 months ago (2015-02-04 22:32:55 UTC) #6
commit-bot: I haz the power
5 years, 10 months ago (2015-02-05 15:27:56 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=189565

Powered by Google App Engine
This is Rietveld 408576698