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

Unified Diff: Source/core/css/resolver/StyleAdjuster.cpp

Issue 894393003: Constify and use reference for RenderStyle in LayoutTheme (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/layout/LayoutSlider.cpp » ('j') | Source/core/layout/LayoutTheme.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/resolver/StyleAdjuster.cpp
diff --git a/Source/core/css/resolver/StyleAdjuster.cpp b/Source/core/css/resolver/StyleAdjuster.cpp
index 89cdfefc173b462bf453fdb94f5fa806a9b72293..c3d1301f6ef8809e9d559fbd2c0128a08f6a0236 100644
--- a/Source/core/css/resolver/StyleAdjuster.cpp
+++ b/Source/core/css/resolver/StyleAdjuster.cpp
@@ -218,7 +218,7 @@ void StyleAdjuster::adjustRenderStyle(RenderStyle* style, RenderStyle* parentSty
// Let the theme also have a crack at adjusting the style.
if (style->hasAppearance())
- LayoutTheme::theme().adjustStyle(style, e, cachedUAStyle);
+ LayoutTheme::theme().adjustStyle(*style, e, cachedUAStyle);
// If we have first-letter pseudo style, transitions, or animations, do not share this style.
if (style->hasPseudoStyle(FIRST_LETTER) || style->transitions() || style->animations())
« no previous file with comments | « no previous file | Source/core/layout/LayoutSlider.cpp » ('j') | Source/core/layout/LayoutTheme.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698