<https://webkit.org/b/130198>
<rdar://problem/
15991333>
Reviewed by Dan Bernstein.
* page/FrameView.cpp:
(WebCore::FrameView::sendResizeEventIfNeeded):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@165548
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2014-03-13 Andreas Kling <akling@apple.com>
+
+ Don't send synchronous resize events when FrameView has auto-sizing enabled.
+ <https://webkit.org/b/130198>
+ <rdar://problem/15991333>
+
+ Reviewed by Dan Bernstein.
+
+ * page/FrameView.cpp:
+ (WebCore::FrameView::sendResizeEventIfNeeded):
+
2014-03-13 Antti Koivisto <antti@apple.com>
Try to fix release build.
#endif
bool isMainFrame = frame().isMainFrame();
- bool canSendResizeEventSynchronously = isMainFrame && !isInLayout();
+ bool canSendResizeEventSynchronously = !m_shouldAutoSize && isMainFrame && !isInLayout();
// If we resized during layout, queue up a resize event for later, otherwise fire it right away.
RefPtr<Event> resizeEvent = Event::create(eventNames().resizeEvent, false, false);