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

Unified Diff: Source/core/html/HTMLDialogElement.cpp

Issue 15159008: Node::lazyAttach shouldn't lie about being attached (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Missing commit Created 7 years, 7 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: 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()

Powered by Google App Engine
This is Rietveld 408576698