Summary: | Buildfix for non Mac platforms with enabled NetworkProcess | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Csaba Osztrogonác <ossy> | ||||||
Component: | New Bugs | Assignee: | Csaba Osztrogonác <ossy> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | aestes, andersca, bdakin, benjamin, commit-queue, darin, enrica, hyatt, kling, mitz, mjs, mrowe, ossy, simon.fraser, thorton | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 110141 | ||||||||
Attachments: |
|
Description
Csaba Osztrogonác
2013-09-23 10:00:08 PDT
Created attachment 212361 [details]
Patch
Comment on attachment 212361 [details]
Patch
I don’t think this should be guarded with PLATFORM(MAC), it’s about whether shareable resources are enabled.
(In reply to comment #2) > (From update of attachment 212361 [details]) > I don’t think this should be guarded with PLATFORM(MAC), it’s about whether shareable resources are enabled. There isn't any guard for enabling/disabling shareable resources. Should I add a new ifdef guard for it? Otherwise I don't understand what is the problem with the PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090 guard? As I pointed in the changelog, didReceiveResource is only used in WebKit2/NetworkProcess/AsynchronousNetworkLoaderClient.cpp inside the same guard. And didCacheResource is only used in WebKit2/NetworkProcess/mac/DiskCacheMonitor.mm inside the same guard. If PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090 condition is false, all code is unreachable what I proposed to guard. So what is your suggestion? Created attachment 212454 [details]
Patch
Let's try to add a new guard: ENABLE(SHAREABLE_RESOURCE) and enable it on Mac by default.
(In reply to comment #4) > Created an attachment (id=212454) [details] > Patch > > Let's try to add a new guard: ENABLE(SHAREABLE_RESOURCE) and enable it on Mac by default. Anders, do you mean this kind of guarding? ping? Anders, could you review this new patch please? (In reply to comment #7) > Anders, could you review this new patch please? ping? I fixed immediately what you asked 2 weeks before. :( Adding more WK2 owner, maybe somebody have a little bit time for review. Comment on attachment 212454 [details] Patch Clearing flags on attachment: 212454 Committed r157225: <http://trac.webkit.org/changeset/157225> All reviewed patches have been landed. Closing bug. |