| Index: Source/core/rendering/style/RenderStyle.cpp
|
| diff --git a/Source/core/rendering/style/RenderStyle.cpp b/Source/core/rendering/style/RenderStyle.cpp
|
| index 6b072146cfb7d3cb178926500976d87a6fb2e901..485299dc9337efc70ef8eecb291672a6b33044fb 100644
|
| --- a/Source/core/rendering/style/RenderStyle.cpp
|
| +++ b/Source/core/rendering/style/RenderStyle.cpp
|
| @@ -425,14 +425,6 @@ bool RenderStyle::diffNeedsFullLayoutAndRepaint(const RenderStyle& other) const
|
| // instead of forced full repaint.
|
|
|
| if (m_box.get() != other.m_box.get()) {
|
| - if (m_box->width() != other.m_box->width()
|
| - || m_box->minWidth() != other.m_box->minWidth()
|
| - || m_box->maxWidth() != other.m_box->maxWidth()
|
| - || m_box->height() != other.m_box->height()
|
| - || m_box->minHeight() != other.m_box->minHeight()
|
| - || m_box->maxHeight() != other.m_box->maxHeight())
|
| - return true;
|
| -
|
| if (m_box->verticalAlign() != other.m_box->verticalAlign())
|
| return true;
|
|
|
| @@ -616,6 +608,16 @@ bool RenderStyle::diffNeedsFullLayoutAndRepaint(const RenderStyle& other) const
|
|
|
| bool RenderStyle::diffNeedsFullLayout(const RenderStyle& other) const
|
| {
|
| + if (m_box.get() != other.m_box.get()) {
|
| + if (m_box->width() != other.m_box->width()
|
| + || m_box->minWidth() != other.m_box->minWidth()
|
| + || m_box->maxWidth() != other.m_box->maxWidth()
|
| + || m_box->height() != other.m_box->height()
|
| + || m_box->minHeight() != other.m_box->minHeight()
|
| + || m_box->maxHeight() != other.m_box->maxHeight())
|
| + return true;
|
| + }
|
| +
|
| return false;
|
| }
|
|
|
|
|