Index: Source/core/layout/LayoutObject.cpp |
diff --git a/Source/core/layout/LayoutObject.cpp b/Source/core/layout/LayoutObject.cpp |
index 5a1c31846ad947c1a55b4ee71752e8669f522e39..fc2b5619f8b19bf77c1af80097b58e263dfefba4 100644 |
--- a/Source/core/layout/LayoutObject.cpp |
+++ b/Source/core/layout/LayoutObject.cpp |
@@ -2646,7 +2646,7 @@ static PassRefPtr<LayoutStyle> firstLineStyleForCachedUncachedType(StyleCacheSta |
PassRefPtr<LayoutStyle> LayoutObject::uncachedFirstLineStyle(LayoutStyle* style) const |
{ |
- if (!document().styleEngine()->usesFirstLineRules()) |
+ if (!document().styleEngine().usesFirstLineRules()) |
return nullptr; |
ASSERT(!isText()); |
@@ -2656,7 +2656,7 @@ PassRefPtr<LayoutStyle> LayoutObject::uncachedFirstLineStyle(LayoutStyle* style) |
LayoutStyle* LayoutObject::cachedFirstLineStyle() const |
{ |
- ASSERT(document().styleEngine()->usesFirstLineRules()); |
+ ASSERT(document().styleEngine().usesFirstLineRules()); |
if (RefPtr<LayoutStyle> style = firstLineStyleForCachedUncachedType(Cached, isText() ? parent() : this, m_style.get())) |
return style.get(); |