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

Unified Diff: Source/core/layout/LayoutBR.cpp

Issue 975933002: Return reference from styleEngine() accessor. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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 | « Source/core/inspector/InspectorCSSAgent.cpp ('k') | Source/core/layout/LayoutBlock.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutBR.cpp
diff --git a/Source/core/layout/LayoutBR.cpp b/Source/core/layout/LayoutBR.cpp
index 7799a0c19564f7b5a9d88a00a79d31a8eb34be72..73f273688ffe5043e50a5e3a121b50ec32395403 100644
--- a/Source/core/layout/LayoutBR.cpp
+++ b/Source/core/layout/LayoutBR.cpp
@@ -46,7 +46,7 @@ LayoutBR::~LayoutBR()
int LayoutBR::lineHeight(bool firstLine) const
{
- const LayoutStyle& style = styleRef(firstLine && document().styleEngine()->usesFirstLineRules());
+ const LayoutStyle& style = styleRef(firstLine && document().styleEngine().usesFirstLineRules());
return style.computedLineHeight();
}
« no previous file with comments | « Source/core/inspector/InspectorCSSAgent.cpp ('k') | Source/core/layout/LayoutBlock.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698