Changeset 175254 in webkit
- Timestamp:
- Oct 28, 2014, 9:44:02 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r175252 r175254 1 2014-10-28 Alexey Proskuryakov <ap@apple.com> 2 3 Windows build fix. 4 5 * platform/network/cf/NetworkStorageSessionCFNet.cpp: 6 (WebCore::NetworkStorageSession::switchToNewTestingSession): Use a WTF function 7 for getting current process ID instead of getpid(). 8 1 9 2014-10-28 Mihnea Ovidenie <mihnea@adobe.com> 2 10 -
trunk/Source/WebCore/platform/network/cf/NetworkStorageSessionCFNet.cpp
r175232 r175254 30 30 #include <wtf/NeverDestroyed.h> 31 31 #include <wtf/PassOwnPtr.h> 32 #include <wtf/ProcessID.h> 32 33 33 34 #if PLATFORM(COCOA) … … 55 56 { 56 57 // Session name should be short enough for shared memory region name to be under the limit, otehrwise sandbox rules won't work (see <rdar://problem/13642852>). 57 String sessionName = String::format("WebKit Test-%u", static_cast<uint32_t>(get pid()));58 String sessionName = String::format("WebKit Test-%u", static_cast<uint32_t>(getCurrentProcessID())); 58 59 #if PLATFORM(COCOA) 59 60 defaultNetworkStorageSession() = adoptPtr(new NetworkStorageSession(adoptCF(wkCreatePrivateStorageSession(sessionName.createCFString().get()))));
Note:
See TracChangeset
for help on using the changeset viewer.