Bug 154727 - Remove unused CFNetwork disk cache mmap optimization in WebKit2.
Summary: Remove unused CFNetwork disk cache mmap optimization in WebKit2.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Andreas Kling
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-26 08:33 PST by Andreas Kling
Modified: 2016-02-29 03:47 PST (History)
7 users (show)

See Also:


Attachments
Patch (26.08 KB, patch)
2016-02-26 08:39 PST, Andreas Kling
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kling 2016-02-26 08:33:58 PST
The CFNetwork disk cache mmap optimization is no longer used since the introduction of the WK2 network disk cache.
We can remove the related code since it's never used.
Comment 1 Andreas Kling 2016-02-26 08:39:00 PST
Created attachment 272327 [details]
Patch
Comment 2 WebKit Commit Bot 2016-02-26 10:17:08 PST
Comment on attachment 272327 [details]
Patch

Clearing flags on attachment: 272327

Committed r197177: <http://trac.webkit.org/changeset/197177>
Comment 3 WebKit Commit Bot 2016-02-26 10:17:12 PST
All reviewed patches have been landed.  Closing bug.
Comment 4 Csaba Osztrogonác 2016-02-29 03:47:03 PST
(In reply to comment #2)
> Comment on attachment 272327 [details]
> Patch
> 
> Clearing flags on attachment: 272327
> 
> Committed r197177: <http://trac.webkit.org/changeset/197177>

It broke the Apple Mac Cmake build:

CMake Error at Source/cmake/WebKitMacros.cmake:248 (add_library):
  Cannot find source file:

    NetworkProcess/mac/NetworkDiskCacheMonitor.mm
Comment 5 Csaba Osztrogonác 2016-02-29 03:47:42 PST
speculative fix landed in http://trac.webkit.org/changeset/197346