Ignore:
Timestamp:
Oct 2, 2013, 11:08:44 AM (12 years ago)
Author:
[email protected]
Message:

Remove Qt-specific code in WebCore/{rendering,editing,history}.
<https://webkit.org/b/122220>

Reviewed by Anders Carlsson.

Purge PLATFORM(QT) blocks and FooBarQt.* files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/rendering/RenderElement.cpp

    r156738 r156779  
    782782// no fixed positoned elements on the page, we can acclerate scrolling (via blitting) if we
    783783// ignore the CSS property "background-attachment: fixed".
    784 static bool shouldRepaintFixedBackgroundsOnScroll(FrameView* frameView)
    785 {
    786 #if !ENABLE(FAST_MOBILE_SCROLLING) || !PLATFORM(QT)
    787     UNUSED_PARAM(frameView);
    788 #endif
    789 
    790     bool repaintFixedBackgroundsOnScroll = true;
     784static bool shouldRepaintFixedBackgroundsOnScroll()
     785{
    791786#if ENABLE(FAST_MOBILE_SCROLLING)
    792 #if PLATFORM(QT)
    793     if (frameView->delegatesScrolling())
    794         repaintFixedBackgroundsOnScroll = false;
     787    return false;
    795788#else
    796     repaintFixedBackgroundsOnScroll = false;
    797 #endif
    798 #endif
    799     return repaintFixedBackgroundsOnScroll;
     789    return true;
     790#endif
    800791}
    801792
     
    870861    }
    871862
    872     bool repaintFixedBackgroundsOnScroll = shouldRepaintFixedBackgroundsOnScroll(&view().frameView());
     863    bool repaintFixedBackgroundsOnScroll = shouldRepaintFixedBackgroundsOnScroll();
    873864
    874865    bool newStyleSlowScroll = newStyle && repaintFixedBackgroundsOnScroll && newStyle->hasFixedBackgroundImage();
     
    986977    }
    987978
    988     bool repaintFixedBackgroundsOnScroll = shouldRepaintFixedBackgroundsOnScroll(&view().frameView());
     979    bool repaintFixedBackgroundsOnScroll = shouldRepaintFixedBackgroundsOnScroll();
    989980    if (repaintFixedBackgroundsOnScroll && m_style && m_style->hasFixedBackgroundImage())
    990981        view().frameView().removeSlowRepaintObject(this);
Note: See TracChangeset for help on using the changeset viewer.