Index: third_party/WebKit/Source/core/layout/LayoutReplica.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutReplica.cpp b/third_party/WebKit/Source/core/layout/LayoutReplica.cpp |
index 84714aaa99f8569865d156de9940ff8e7dae64ba..c2c404d2c946b9addb2df146fea6323a69aeb068 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutReplica.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutReplica.cpp |
@@ -64,8 +64,9 @@ void LayoutReplica::layout() |
void LayoutReplica::computePreferredLogicalWidths() |
{ |
- m_minPreferredLogicalWidth = parentBox()->size().width(); |
- m_maxPreferredLogicalWidth = m_minPreferredLogicalWidth; |
+ // LayoutReplica is a synthetic object, PaintLayerReflectionInfo is what |
+ // calls into it, so this should never be called. |
+ ASSERT_NOT_REACHED(); |
clearPreferredLogicalWidthsDirty(); |
} |