Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(573)

Unified Diff: third_party/WebKit/Source/core/layout/LayoutReplica.cpp

Issue 1391943005: Document reflection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed the TODO. Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutReplica.h ('k') | third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698