Index: Source/core/html/HTMLDialogElement.cpp |
diff --git a/Source/core/html/HTMLDialogElement.cpp b/Source/core/html/HTMLDialogElement.cpp |
index 52718b342ab5b461b3d70542b19dc0b81c1d3652..298e4856d7c34a6f4a008422e7a8b7c78d2153d1 100644 |
--- a/Source/core/html/HTMLDialogElement.cpp |
+++ b/Source/core/html/HTMLDialogElement.cpp |
@@ -102,7 +102,7 @@ void HTMLDialogElement::positionAndReattach() |
m_topIsValid = true; |
// FIXME: It's inefficient to reattach here. We could do better by mutating style directly and forcing another layout. |
- reattach(); |
+ lazyReattach(); |
} |
void HTMLDialogElement::show() |