Index: Source/core/rendering/RenderObject.h |
diff --git a/Source/core/rendering/RenderObject.h b/Source/core/rendering/RenderObject.h |
index 7f1f8b5a75d2bd21ec1e6efa5ae523cbc6555fb1..a52f46d2d6707b2d00588a6d152af66c2e9e874e 100644 |
--- a/Source/core/rendering/RenderObject.h |
+++ b/Source/core/rendering/RenderObject.h |
@@ -623,8 +623,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(); } |