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

Unified Diff: Source/core/layout/LayoutObjectInlines.h

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/layout/LayoutObject.cpp ('k') | Source/core/layout/line/RootInlineBox.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutObjectInlines.h
diff --git a/Source/core/layout/LayoutObjectInlines.h b/Source/core/layout/LayoutObjectInlines.h
index 9a322b049025ceeee4235608c87bc410798a07da..70fc8ac668e844bdba7c9314c3030616fd147016 100644
--- a/Source/core/layout/LayoutObjectInlines.h
+++ b/Source/core/layout/LayoutObjectInlines.h
@@ -17,7 +17,7 @@ namespace blink {
inline LayoutStyle* LayoutObject::firstLineStyle() const
{
- return document().styleEngine()->usesFirstLineRules() ? cachedFirstLineStyle() : style();
+ return document().styleEngine().usesFirstLineRules() ? cachedFirstLineStyle() : style();
}
inline const LayoutStyle& LayoutObject::firstLineStyleRef() const
« no previous file with comments | « Source/core/layout/LayoutObject.cpp ('k') | Source/core/layout/line/RootInlineBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698