Index: Source/core/rendering/RenderObject.h |
diff --git a/Source/core/rendering/RenderObject.h b/Source/core/rendering/RenderObject.h |
index 275d8ad2513305542065584c833f6fae59dca2ed..b276c47391ce6887944ec862fe0b0c77966a2335 100644 |
--- a/Source/core/rendering/RenderObject.h |
+++ b/Source/core/rendering/RenderObject.h |
@@ -766,7 +766,7 @@ public: |
RenderStyle* style() const { return m_style.get(); } |
RenderStyle* firstLineStyle() const { return document().styleEngine()->usesFirstLineRules() ? cachedFirstLineStyle() : style(); } |
- RenderStyle* style(bool firstLine) const { return firstLine ? firstLineStyle() : style(); } |
+ RenderStyle* styleOrFirstLineStyle(bool firstLine) const { return firstLine ? firstLineStyle() : style(); } |
inline Color resolveColor(const RenderStyle* styleToUse, int colorProperty) const |
{ |