| Index: Source/core/frame/DOMWindow.cpp
|
| diff --git a/Source/core/frame/DOMWindow.cpp b/Source/core/frame/DOMWindow.cpp
|
| index a8902e69e2e08da97e99deb5f0f55fa9a6bffad0..a7c6ea16273fd432a5699c011af999e09049ffe4 100644
|
| --- a/Source/core/frame/DOMWindow.cpp
|
| +++ b/Source/core/frame/DOMWindow.cpp
|
| @@ -998,7 +998,7 @@ void DOMWindow::alert(const String& message)
|
| if (!m_frame)
|
| return;
|
|
|
| - m_frame->document()->updateStyleIfNeeded();
|
| + m_frame->document()->updateRenderTreeIfNeeded();
|
|
|
| FrameHost* host = m_frame->host();
|
| if (!host)
|
| @@ -1012,7 +1012,7 @@ bool DOMWindow::confirm(const String& message)
|
| if (!m_frame)
|
| return false;
|
|
|
| - m_frame->document()->updateStyleIfNeeded();
|
| + m_frame->document()->updateRenderTreeIfNeeded();
|
|
|
| FrameHost* host = m_frame->host();
|
| if (!host)
|
| @@ -1026,7 +1026,7 @@ String DOMWindow::prompt(const String& message, const String& defaultValue)
|
| if (!m_frame)
|
| return String();
|
|
|
| - m_frame->document()->updateStyleIfNeeded();
|
| + m_frame->document()->updateRenderTreeIfNeeded();
|
|
|
| FrameHost* host = m_frame->host();
|
| if (!host)
|
|
|