Changeset 138395 in webkit


Ignore:
Timestamp:
Dec 21, 2012, 12:58:33 PM (13 years ago)
Author:
kenneth@webkit.org
Message:

Unreviewed potential fix EFL/Qt test breakage on WK2

Only disable scrollbars when in fixed layout mode.

  • WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:

(WebKit::WebFrameLoaderClient::transitionToCommittedForNewPage):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r138391 r138395  
     12012-12-21  Kenneth Rohde Christiansen  <kenneth@webkit.org>
     2
     3        Unreviewed potential fix EFL/Qt test breakage on WK2
     4
     5        Only disable scrollbars when in fixed layout mode.
     6
     7        * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
     8        (WebKit::WebFrameLoaderClient::transitionToCommittedForNewPage):
     9
    1102012-12-21  Brady Eidson  <beidson@apple.com>
    211
  • trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp

    r138378 r138395  
    12361236
    12371237#if USE(TILED_BACKING_STORE)
    1238     m_frame->coreFrame()->createView(webPage->size(), backgroundColor, isTransparent,
    1239         IntSize(), currentFixedVisibleContentRect, shouldUseFixedLayout,
    1240         ScrollbarAlwaysOff, /* lock */ true, ScrollbarAlwaysOff, /* lock */ true);
    1241 
    1242     m_frame->coreFrame()->view()->setDelegatesScrolling(shouldUseFixedLayout);
    1243     m_frame->coreFrame()->view()->setPaintsEntireContents(shouldUseFixedLayout);
    1244 #else
     1238    if (shouldUseFixedLayout) {
     1239        m_frame->coreFrame()->createView(webPage->size(), backgroundColor, isTransparent,
     1240            IntSize(), currentFixedVisibleContentRect, shouldUseFixedLayout,
     1241            ScrollbarAlwaysOff, /* lock */ true, ScrollbarAlwaysOff, /* lock */ true);
     1242
     1243        m_frame->coreFrame()->view()->setDelegatesScrolling(shouldUseFixedLayout);
     1244        m_frame->coreFrame()->view()->setPaintsEntireContents(shouldUseFixedLayout);
     1245        return;
     1246    }
     1247#endif
     1248
    12451249    m_frame->coreFrame()->createView(webPage->size(), backgroundColor, isTransparent,
    12461250        IntSize(), currentFixedVisibleContentRect, shouldUseFixedLayout);
    1247 #endif
    12481251}
    12491252
Note: See TracChangeset for help on using the changeset viewer.