Index: Source/core/layout/LayoutObject.h |
diff --git a/Source/core/layout/LayoutObject.h b/Source/core/layout/LayoutObject.h |
index 2a735ec165bdc0d319b4a26b7432327d5bf83649..5f4c30d701da3774bbd63ee736453507d0778d2d 100644 |
--- a/Source/core/layout/LayoutObject.h |
+++ b/Source/core/layout/LayoutObject.h |
@@ -505,7 +505,7 @@ public: |
{ |
// This function is kept in sync with anonymous block creation conditions in |
// RenderBlock::createAnonymousBlock(). This includes creating an anonymous |
- // RenderBlock having a BLOCK or BOX display. Other classes such as RenderTextFragment |
+ // RenderBlock having a BLOCK or BOX display. Other classes such as LayoutTextFragment |
// are not RenderBlocks and will return false. See https://bugs.webkit.org/show_bug.cgi?id=56709. |
return isAnonymous() && (style()->display() == BLOCK || style()->display() == BOX) && style()->styleType() == NOPSEUDO && isRenderBlock() && !isListMarker() && !isLayoutFlowThread() && !isLayoutMultiColumnSet() |
&& !isRenderFullScreen() |
@@ -1194,7 +1194,7 @@ protected: |
virtual PaintInvalidationReason invalidatePaintIfNeeded(const PaintInvalidationState&, const LayoutBoxModelObject& paintInvalidationContainer); |
// When this object is invalidated for paint, this method is called to invalidate any DisplayItemClients |
- // owned by this object, including the object itself, RenderText/RenderInline line boxes, scrollbars, etc., |
+ // owned by this object, including the object itself, LayoutText/RenderInline line boxes, scrollbars, etc., |
// not including children which will be invalidated normally during invalidateTreeIfNeeded(). |
virtual void invalidateDisplayItemClients(DisplayItemList*) const; |