Index: third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp |
index ba4acad492869c8797857c75bf02ce3f29c3ef6a..cacade76ccdec0aa563cb49b7fbbf187cd4f69bc 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp |
@@ -920,6 +920,7 @@ LayoutBoxModelObject* LayoutBoxModelObject::continuation() const |
void LayoutBoxModelObject::setContinuation(LayoutBoxModelObject* continuation) |
{ |
if (continuation) { |
+ ASSERT(continuation->isLayoutInline() || continuation->isLayoutBlockFlow()); |
if (!continuationMap) |
continuationMap = new ContinuationMap; |
continuationMap->set(this, continuation); |