Index: Source/core/rendering/RenderObject.h |
diff --git a/Source/core/rendering/RenderObject.h b/Source/core/rendering/RenderObject.h |
index 86504e16547e0a3eb3bd2f97e1596c1192302a1b..6fbfd292742396ac3e6073297d0653faec32dcf7 100644 |
--- a/Source/core/rendering/RenderObject.h |
+++ b/Source/core/rendering/RenderObject.h |
@@ -627,8 +627,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(); } |