Index: Source/core/rendering/RenderObject.cpp |
diff --git a/Source/core/rendering/RenderObject.cpp b/Source/core/rendering/RenderObject.cpp |
index fd87b04c83528b1e761e844d77b71da375b5356e..ada88864b98af935fd23318facba379cb5c9f515 100644 |
--- a/Source/core/rendering/RenderObject.cpp |
+++ b/Source/core/rendering/RenderObject.cpp |
@@ -3132,6 +3132,11 @@ bool RenderObject::canUpdateSelectionOnRootLineBoxes() |
return containingBlock ? !containingBlock->needsLayout() : true; |
} |
+bool RenderObject::canDOMChildrenHaveRenderParent() const |
+{ |
+ return m_parent ? m_parent->canDOMChildrenHaveRenderParent() : false; |
esprehn
2013/06/17 21:41:02
m_parent && m_parent->....; No need for the ternar
|
+} |
+ |
// We only create "generated" child renderers like one for first-letter if: |
// - the firstLetterBlock can have children in the DOM and |
// - the block doesn't have any special assumption on its text children. |