Windows part 2 of <rdar://5438063> Saving history containing 100,000 entries...
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
Showing
Please register or sign in to comment