Skip to content
  • andersca@apple.com's avatar
    2011-01-12 Anders Carlsson <andersca@apple.com> · a6e49d71
    andersca@apple.com authored
            Reviewed by Sam Weinig.
    
            Make the new drawing area actually draw something
            https://bugs.webkit.org/show_bug.cgi?id=52314
    
            * Shared/UpdateInfo.cpp:
            (WebKit::UpdateInfo::encode):
            (WebKit::UpdateInfo::decode):
            Encode and decode newly added fields.
    
            * Shared/UpdateInfo.h:
            Add a vector of update rects and a handle for the sharable bitmap.
    
            * WebProcess/WebPage/DrawingAreaImpl.cpp:
            (WebKit::DrawingAreaImpl::display):
            Get the individual rects from the region and paint them into the shareable bitmap.
    
            * WebProcess/WebPage/WebPage.cpp:
            (WebKit::WebPage::mainFrameHasCustomRepresentation):
            * WebProcess/WebPage/WebPage.h:
            Add helper function.
    
            * WebProcess/WebPage/mac/ChunkedUpdateDrawingAreaMac.cpp:
            (WebKit::ChunkedUpdateDrawingArea::paintIntoUpdateChunk):
            Use helper function.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75627 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    a6e49d71