| Index: third_party/WebKit/Source/core/html/HTMLDialogElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLDialogElement.cpp b/third_party/WebKit/Source/core/html/HTMLDialogElement.cpp
|
| index 018752047bf43fc034442ec325a520a46d7091cd..6a19699e502605ecc3c04b458284e3fe37aa0915 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLDialogElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLDialogElement.cpp
|
| @@ -129,7 +129,7 @@ void HTMLDialogElement::closeDialog(const String& returnValue)
|
| void HTMLDialogElement::forceLayoutForCentering()
|
| {
|
| m_centeringMode = NeedsCentering;
|
| - document().updateLayoutIgnorePendingStylesheets();
|
| + document().updateStyleAndLayoutIgnorePendingStylesheets();
|
| if (m_centeringMode == NeedsCentering)
|
| setNotCentered();
|
| }
|
| @@ -142,7 +142,7 @@ void HTMLDialogElement::show()
|
|
|
| // The layout must be updated here because setFocusForDialog calls
|
| // Element::isFocusable, which requires an up-to-date layout.
|
| - document().updateLayoutIgnorePendingStylesheets();
|
| + document().updateStyleAndLayoutIgnorePendingStylesheets();
|
|
|
| setFocusForDialog(this);
|
| }
|
|
|