Index: Source/core/rendering/RenderObject.h |
diff --git a/Source/core/rendering/RenderObject.h b/Source/core/rendering/RenderObject.h |
index abd57909e938ef9cf8e015018160cef28e2a621d..d987f6198b1cb95e11c23234aa0676184abbc267 100644 |
--- a/Source/core/rendering/RenderObject.h |
+++ b/Source/core/rendering/RenderObject.h |
@@ -621,8 +621,8 @@ public: |
void clearNode() { m_node = nullptr; } |
// Returns the styled node that caused the generation of this renderer. |
- // This is the same as node() except for renderers of :before and :after |
- // pseudo elements for which their parent node is returned. |
+ // This is the same as node() except for renderers of :before, :after and |
+ // :first-letter pseudo elements for which their parent node is returned. |
Node* generatingNode() const { return isPseudoElement() ? node()->parentOrShadowHostNode() : node(); } |
Document& document() const { return m_node->document(); } |