• aroben@apple.com's avatar
    Windows part 2 of <rdar://5438063> Saving history containing 100,000 entries... · 1e2e9ed5
    aroben@apple.com authored
    Windows part 2 of <rdar://5438063> Saving history containing 100,000 entries causes pauses of 2s while browsing
    
    WebCore:
    
            Add SharedBuffer::wrapCFData
    
            This is the CF-equivalent of wrapNSData.
    
            Reviewed by Brady Eidson.
    
            * platform/SharedBuffer.h:
            * platform/cf/SharedBufferCF.cpp:
            (WebCore::SharedBuffer::wrapCFData):
    
    WebKit/win:
    
            Windows part 2 of <rdar://5438063> Saving history containing 100,000
            entries causes pauses of 2s while browsing
    
            Reviewed by Brady Eidson.
    
            * Interfaces/IWebHistoryPrivate.idl: Added data, analagous to
            WebKit/mac's -[WebHistory _data] method.
    
            * WebHistory.cpp:
            (WebHistory::saveHistoryGuts): Changed to call data() to get the data for
            saving.
            (WebHistory::data): Added. Returns the data for saving as an IStream.
            (WebHistory::data): Added. Returns the data for saving as a CFDataRef.
    
            * WebHistory.h: Added data.
    
    git-svn-id: svn://svn.chromium.org/blink/trunk@42463 bbb929c8-8fbe-4397-9dbb-9b2b20218538
    1e2e9ed5
ChangeLog 3.05 MB
The source could not be displayed because it is larger than 1 MB. You can load it anyway or download it instead.