Index: Source/core/layout/LayoutTable.cpp |
diff --git a/Source/core/layout/LayoutTable.cpp b/Source/core/layout/LayoutTable.cpp |
index cc39f4b65bf4c9b14a17bfb7a1c5a350d26f38aa..54c9f660b3b2ab144afb8f16de9badcd83f8b6fa 100644 |
--- a/Source/core/layout/LayoutTable.cpp |
+++ b/Source/core/layout/LayoutTable.cpp |
@@ -1337,7 +1337,7 @@ bool LayoutTable::nodeAtPoint(const HitTestRequest& request, HitTestResult& resu |
LayoutTable* LayoutTable::createAnonymousWithParentRenderer(const LayoutObject* parent) |
{ |
- RefPtr<LayoutStyle> newStyle = LayoutStyle::createAnonymousStyleWithDisplay(parent->styleRef(), parent->isRenderInline() ? INLINE_TABLE : TABLE); |
+ RefPtr<LayoutStyle> newStyle = LayoutStyle::createAnonymousStyleWithDisplay(parent->styleRef(), TABLE); |
LayoutTable* newTable = new LayoutTable(0); |
newTable->setDocumentForAnonymous(&parent->document()); |
newTable->setStyle(newStyle.release()); |