[Chromium] Fixed Layout API needs to check that a FrameView has been created to avoid...
authorfsamuel@chromium.org <fsamuel@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 21 Oct 2011 02:37:01 +0000 (02:37 +0000)
committerfsamuel@chromium.org <fsamuel@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 21 Oct 2011 02:37:01 +0000 (02:37 +0000)
commit2ec4550701578b6ea4b8b7d8c11642339101ed18
tree0545babe059598de095989e2a8cd322286af5fb0
parent6a851c3418a6e8508ad45555dee8fe65ec597d8a
[Chromium] Fixed Layout API needs to check that a FrameView has been created to avoid segfaults
https://bugs.webkit.org/show_bug.cgi?id=70519

Reviewed by Adam Barth.

Simple patch. Upcoming patches for https://bugs.webkit.org/show_bug.cgi?id=70559 will make
use of these methods in certain situations where the main frame doesn't yet have a FrameView.

* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::isFixedLayoutModeEnabled):
(WebKit::WebViewImpl::enableFixedLayoutMode):
(WebKit::WebViewImpl::fixedLayoutSize):
(WebKit::WebViewImpl::setFixedLayoutSize):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@98059 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit/chromium/ChangeLog
Source/WebKit/chromium/src/WebViewImpl.cpp