Diff
Modified: trunk/Source/WebKit2/ChangeLog (163861 => 163862)
--- trunk/Source/WebKit2/ChangeLog 2014-02-11 06:20:56 UTC (rev 163861)
+++ trunk/Source/WebKit2/ChangeLog 2014-02-11 06:21:41 UTC (rev 163862)
@@ -1,3 +1,29 @@
+2014-02-10 Dan Bernstein <m...@apple.com>
+
+ Stop using PLATFORM(MAC) in WebKit2/platform except where it means “OS X but not iOS”
+ https://bugs.webkit.org/show_bug.cgi?id=128513
+
+ Reviewed by Dean Jackson.
+
+ * Platform/IPC/Connection.cpp:
+ (IPC::Connection::waitForSyncReply): Changed PLATFORM(MAC) to PLATFORM(COCOA) around use of
+ RunLoop::runForDuration, matching the guard around that function.
+ * Platform/Logging.cpp: Deleted unused definition of logLevelString.
+ * Platform/Module.cpp:
+ (WebKit::Module::Module): Changed PLATFORM(MAC) to USE(CF).
+ * Platform/Module.h: Changed PLATFORM(MAC) to USE(CF), since the “Mac” implementation is
+ just a CFBundle-based implementation.
+ * Platform/PlatformProcessIdentifier.h: Changed PLATFORM(MAC) to PLATFORM(COCOA). Arguably
+ this should be OS(DARWIN) && !PLATFORM(EFL) && !PLATFORM(GTK).
+ * Platform/cf: Added.
+ * Platform/cf/ModuleCF.cpp: Renamed from Platform/mac/ModuleMac.mm. This file did not
+ contain any Objective-C code.
+ * Platform/foundation: Added.
+ * Platform/foundation/LoggingFoundation.mm: Renamed from Platform/mac/Logging.mac.mm.
+ * Platform/mac/Logging.mac.mm: Removed.
+ * Platform/mac/ModuleMac.mm: Removed.
+ * WebKit2.xcodeproj/project.pbxproj: Updated for renames.
+
2014-02-10 Commit Queue <commit-qu...@webkit.org>
Unreviewed, rolling out r163848.
Modified: trunk/Source/WebKit2/Platform/IPC/Connection.cpp (163861 => 163862)
--- trunk/Source/WebKit2/Platform/IPC/Connection.cpp 2014-02-11 06:20:56 UTC (rev 163861)
+++ trunk/Source/WebKit2/Platform/IPC/Connection.cpp 2014-02-11 06:21:41 UTC (rev 163862)
@@ -545,7 +545,7 @@
// This allows the WebProcess to still serve clients while waiting for the message to return.
// Notably, it can continue to process accessibility requests, which are on the main thread.
if (syncSendFlags & SpinRunLoopWhileWaitingForReply) {
-#if PLATFORM(MAC)
+#if PLATFORM(COCOA)
// FIXME: Although we run forever, any events incoming will cause us to drop out and exit out. This however doesn't
// account for a timeout value passed in. Timeout is always NoTimeout in these cases, but that could change.
RunLoop::current()->runForDuration(1e10);
Modified: trunk/Source/WebKit2/Platform/Logging.cpp (163861 => 163862)
--- trunk/Source/WebKit2/Platform/Logging.cpp 2014-02-11 06:20:56 UTC (rev 163861)
+++ trunk/Source/WebKit2/Platform/Logging.cpp 2014-02-11 06:21:41 UTC (rev 163862)
@@ -66,14 +66,6 @@
}
#endif
-#if !PLATFORM(MAC) && !PLATFORM(GTK) && !PLATFORM(EFL)
-String logLevelString()
-{
- // FIXME: Each platform will need to define their own logLevelString();
- return emptyString();
-}
-#endif
-
} // namespace WebKit
#endif // !LOG_DISABLED
Modified: trunk/Source/WebKit2/Platform/Module.cpp (163861 => 163862)
--- trunk/Source/WebKit2/Platform/Module.cpp 2014-02-11 06:20:56 UTC (rev 163861)
+++ trunk/Source/WebKit2/Platform/Module.cpp 2014-02-11 06:21:41 UTC (rev 163862)
@@ -30,7 +30,7 @@
Module::Module(const String& path)
: m_path(path)
-#if PLATFORM(MAC) && !defined(__LP64__)
+#if USE(CF) && !defined(__LP64__)
, m_bundleResourceMap(-1)
#endif
{
Modified: trunk/Source/WebKit2/Platform/Module.h (163861 => 163862)
--- trunk/Source/WebKit2/Platform/Module.h 2014-02-11 06:20:56 UTC (rev 163861)
+++ trunk/Source/WebKit2/Platform/Module.h 2014-02-11 06:21:41 UTC (rev 163862)
@@ -29,7 +29,7 @@
#include <wtf/Noncopyable.h>
#include <wtf/text/WTFString.h>
-#if PLATFORM(MAC)
+#if USE(CF)
#include <wtf/RetainPtr.h>
#endif
@@ -54,13 +54,13 @@
// live Objective-C objects whose methods come from that bundle.
void unload();
-#if PLATFORM(MAC)
+#if USE(CF)
String bundleIdentifier() const;
#endif
template<typename FunctionType> FunctionType functionPointer(const char* functionName) const;
-#if PLATFORM(MAC) && !defined(__LP64__)
+#if USE(CF) && !defined(__LP64__)
CFBundleRefNum bundleResourceMap();
#endif
@@ -68,7 +68,7 @@
void* platformFunctionPointer(const char* functionName) const;
String m_path;
-#if PLATFORM(MAC)
+#if USE(CF)
RetainPtr<CFBundleRef> m_bundle;
#if !defined(__LP64__)
CFBundleRefNum m_bundleResourceMap;
Modified: trunk/Source/WebKit2/Platform/PlatformProcessIdentifier.h (163861 => 163862)
--- trunk/Source/WebKit2/Platform/PlatformProcessIdentifier.h 2014-02-11 06:20:56 UTC (rev 163861)
+++ trunk/Source/WebKit2/Platform/PlatformProcessIdentifier.h 2014-02-11 06:21:41 UTC (rev 163862)
@@ -33,7 +33,7 @@
namespace WebKit {
-#if PLATFORM(MAC)
+#if PLATFORM(COCOA)
typedef pid_t PlatformProcessIdentifier;
#elif PLATFORM(GTK)
typedef int PlatformProcessIdentifier;
Copied: trunk/Source/WebKit2/Platform/cf/ModuleCF.cpp (from rev 163859, trunk/Source/WebKit2/Platform/mac/ModuleMac.mm) (0 => 163862)
--- trunk/Source/WebKit2/Platform/cf/ModuleCF.cpp (rev 0)
+++ trunk/Source/WebKit2/Platform/cf/ModuleCF.cpp 2014-02-11 06:21:41 UTC (rev 163862)
@@ -0,0 +1,86 @@
+/*
+ * Copyright (C) 2010 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include "config.h"
+#include "Module.h"
+
+namespace WebKit {
+
+bool Module::load()
+{
+ RetainPtr<CFURLRef> bundleURL = adoptCF(CFURLCreateWithFileSystemPath(kCFAllocatorDefault, m_path.createCFString().get(), kCFURLPOSIXPathStyle, FALSE));
+ if (!bundleURL)
+ return false;
+
+ RetainPtr<CFBundleRef> bundle = adoptCF(CFBundleCreate(kCFAllocatorDefault, bundleURL.get()));
+ if (!bundle)
+ return false;
+
+ if (!CFBundleLoadExecutable(bundle.get()))
+ return false;
+
+ m_bundle = adoptCF(bundle.leakRef());
+ return true;
+}
+
+void Module::unload()
+{
+ if (!m_bundle)
+ return;
+
+#if !defined(__LP64__)
+ if (m_bundleResourceMap != -1)
+ CFBundleCloseBundleResourceMap(m_bundle.get(), m_bundleResourceMap);
+#endif
+
+ // See the comment in Module.h for why we leak the bundle here.
+ CFBundleRef unused = m_bundle.leakRef();
+ (void)unused;
+}
+
+void* Module::platformFunctionPointer(const char* functionName) const
+{
+ if (!m_bundle)
+ return 0;
+ RetainPtr<CFStringRef> functionNameString = adoptCF(CFStringCreateWithCStringNoCopy(kCFAllocatorDefault, functionName, kCFStringEncodingASCII, kCFAllocatorNull));
+ return CFBundleGetFunctionPointerForName(m_bundle.get(), functionNameString.get());
+}
+
+String Module::bundleIdentifier() const
+{
+ return CFBundleGetIdentifier(m_bundle.get());
+}
+
+#if !defined(__LP64__)
+CFBundleRefNum Module::bundleResourceMap()
+{
+ if (m_bundleResourceMap == -1)
+ m_bundleResourceMap = CFBundleOpenBundleResourceMap(m_bundle.get());
+
+ return m_bundleResourceMap;
+}
+#endif
+
+}
Copied: trunk/Source/WebKit2/Platform/foundation/LoggingFoundation.mm (from rev 163859, trunk/Source/WebKit2/Platform/mac/Logging.mac.mm) (0 => 163862)
--- trunk/Source/WebKit2/Platform/foundation/LoggingFoundation.mm (rev 0)
+++ trunk/Source/WebKit2/Platform/foundation/LoggingFoundation.mm 2014-02-11 06:21:41 UTC (rev 163862)
@@ -0,0 +1,42 @@
+/*
+ * Copyright (C) 2011, 2013 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include "config.h"
+#include "Logging.h"
+
+namespace WebKit {
+
+#if !LOG_DISABLED
+
+static NSString * const defaultsDomain = @"WebKit2Logging";
+
+String logLevelString()
+{
+ return [[NSUserDefaults standardUserDefaults] stringForKey:defaultsDomain];
+}
+
+#endif
+
+} // namespace WebKit
Deleted: trunk/Source/WebKit2/Platform/mac/Logging.mac.mm (163861 => 163862)
--- trunk/Source/WebKit2/Platform/mac/Logging.mac.mm 2014-02-11 06:20:56 UTC (rev 163861)
+++ trunk/Source/WebKit2/Platform/mac/Logging.mac.mm 2014-02-11 06:21:41 UTC (rev 163862)
@@ -1,42 +0,0 @@
-/*
- * Copyright (C) 2011, 2013 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
- * THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "config.h"
-#include "Logging.h"
-
-namespace WebKit {
-
-#if !LOG_DISABLED
-
-static NSString * const defaultsDomain = @"WebKit2Logging";
-
-String logLevelString()
-{
- return [[NSUserDefaults standardUserDefaults] stringForKey:defaultsDomain];
-}
-
-#endif
-
-} // namespace WebKit
Deleted: trunk/Source/WebKit2/Platform/mac/ModuleMac.mm (163861 => 163862)
--- trunk/Source/WebKit2/Platform/mac/ModuleMac.mm 2014-02-11 06:20:56 UTC (rev 163861)
+++ trunk/Source/WebKit2/Platform/mac/ModuleMac.mm 2014-02-11 06:21:41 UTC (rev 163862)
@@ -1,86 +0,0 @@
-/*
- * Copyright (C) 2010 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
- * THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#import "config.h"
-#import "Module.h"
-
-namespace WebKit {
-
-bool Module::load()
-{
- RetainPtr<CFURLRef> bundleURL = adoptCF(CFURLCreateWithFileSystemPath(kCFAllocatorDefault, m_path.createCFString().get(), kCFURLPOSIXPathStyle, FALSE));
- if (!bundleURL)
- return false;
-
- RetainPtr<CFBundleRef> bundle = adoptCF(CFBundleCreate(kCFAllocatorDefault, bundleURL.get()));
- if (!bundle)
- return false;
-
- if (!CFBundleLoadExecutable(bundle.get()))
- return false;
-
- m_bundle = adoptCF(bundle.leakRef());
- return true;
-}
-
-void Module::unload()
-{
- if (!m_bundle)
- return;
-
-#if !defined(__LP64__)
- if (m_bundleResourceMap != -1)
- CFBundleCloseBundleResourceMap(m_bundle.get(), m_bundleResourceMap);
-#endif
-
- // See the comment in Module.h for why we leak the bundle here.
- CFBundleRef unused = m_bundle.leakRef();
- (void)unused;
-}
-
-void* Module::platformFunctionPointer(const char* functionName) const
-{
- if (!m_bundle)
- return 0;
- RetainPtr<CFStringRef> functionNameString = adoptCF(CFStringCreateWithCStringNoCopy(kCFAllocatorDefault, functionName, kCFStringEncodingASCII, kCFAllocatorNull));
- return CFBundleGetFunctionPointerForName(m_bundle.get(), functionNameString.get());
-}
-
-String Module::bundleIdentifier() const
-{
- return CFBundleGetIdentifier(m_bundle.get());
-}
-
-#if !defined(__LP64__)
-CFBundleRefNum Module::bundleResourceMap()
-{
- if (m_bundleResourceMap == -1)
- m_bundleResourceMap = CFBundleOpenBundleResourceMap(m_bundle.get());
-
- return m_bundleResourceMap;
-}
-#endif
-
-}
Modified: trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj (163861 => 163862)
--- trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj 2014-02-11 06:20:56 UTC (rev 163861)
+++ trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj 2014-02-11 06:21:41 UTC (rev 163862)
@@ -709,7 +709,7 @@
515E7730184015800007203F /* UniqueIDBDatabase.h in Headers */ = {isa = PBXBuildFile; fileRef = 515E772E184015800007203F /* UniqueIDBDatabase.h */; };
515E773318402D510007203F /* UniqueIDBDatabaseIdentifier.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 515E773118402D510007203F /* UniqueIDBDatabaseIdentifier.cpp */; };
515E773418402D510007203F /* UniqueIDBDatabaseIdentifier.h in Headers */ = {isa = PBXBuildFile; fileRef = 515E773218402D510007203F /* UniqueIDBDatabaseIdentifier.h */; };
- 5160BFE113381DF900918999 /* Logging.mac.mm in Sources */ = {isa = PBXBuildFile; fileRef = 5160BFE013381DF900918999 /* Logging.mac.mm */; };
+ 5160BFE113381DF900918999 /* LoggingFoundation.mm in Sources */ = {isa = PBXBuildFile; fileRef = 5160BFE013381DF900918999 /* LoggingFoundation.mm */; };
516311871858446600534647 /* WebCrossThreadCopier.h in Headers */ = {isa = PBXBuildFile; fileRef = 516311861858446600534647 /* WebCrossThreadCopier.h */; };
516319921628980A00E22F00 /* NetworkProcessProxyMac.mm in Sources */ = {isa = PBXBuildFile; fileRef = 516319911628980A00E22F00 /* NetworkProcessProxyMac.mm */; };
5163199416289A6000E22F00 /* NetworkProcessMessageReceiver.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 51ACC9341628064800342550 /* NetworkProcessMessageReceiver.cpp */; };
@@ -1344,7 +1344,7 @@
C0CE72A01247E71D00BC0EC4 /* WebPageMessageReceiver.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C0CE729E1247E71D00BC0EC4 /* WebPageMessageReceiver.cpp */; };
C0CE72A11247E71D00BC0EC4 /* WebPageMessages.h in Headers */ = {isa = PBXBuildFile; fileRef = C0CE729F1247E71D00BC0EC4 /* WebPageMessages.h */; };
C0CE72AD1247E78D00BC0EC4 /* HandleMessage.h in Headers */ = {isa = PBXBuildFile; fileRef = C0CE72AC1247E78D00BC0EC4 /* HandleMessage.h */; };
- C0E3AA7A1209E83000A49D01 /* ModuleMac.mm in Sources */ = {isa = PBXBuildFile; fileRef = C0E3AA481209E45000A49D01 /* ModuleMac.mm */; };
+ C0E3AA7A1209E83000A49D01 /* ModuleCF.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C0E3AA481209E45000A49D01 /* ModuleCF.cpp */; };
C0E3AA7B1209E83500A49D01 /* Module.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C0E3AA451209E2BA00A49D01 /* Module.cpp */; };
C0E3AA7C1209E83C00A49D01 /* Module.h in Headers */ = {isa = PBXBuildFile; fileRef = C0E3AA441209E2BA00A49D01 /* Module.h */; };
C517388112DF8F4F00EE3F47 /* DragControllerAction.h in Headers */ = {isa = PBXBuildFile; fileRef = C517388012DF8F4F00EE3F47 /* DragControllerAction.h */; };
@@ -2433,7 +2433,7 @@
515E772E184015800007203F /* UniqueIDBDatabase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UniqueIDBDatabase.h; sourceTree = "<group>"; };
515E773118402D510007203F /* UniqueIDBDatabaseIdentifier.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = UniqueIDBDatabaseIdentifier.cpp; sourceTree = "<group>"; };
515E773218402D510007203F /* UniqueIDBDatabaseIdentifier.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UniqueIDBDatabaseIdentifier.h; sourceTree = "<group>"; };
- 5160BFE013381DF900918999 /* Logging.mac.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = Logging.mac.mm; sourceTree = "<group>"; };
+ 5160BFE013381DF900918999 /* LoggingFoundation.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = LoggingFoundation.mm; sourceTree = "<group>"; };
516311861858446600534647 /* WebCrossThreadCopier.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebCrossThreadCopier.h; sourceTree = "<group>"; };
516319911628980A00E22F00 /* NetworkProcessProxyMac.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = NetworkProcessProxyMac.mm; path = mac/NetworkProcessProxyMac.mm; sourceTree = "<group>"; };
51654EFB184EF33F007DC837 /* UniqueIDBDatabaseBackingStoreSQLite.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = UniqueIDBDatabaseBackingStoreSQLite.cpp; sourceTree = "<group>"; };
@@ -3133,7 +3133,7 @@
C0CE73371247F70E00BC0EC4 /* generate-messages-header.py */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.python; path = "generate-messages-header.py"; sourceTree = "<group>"; };
C0E3AA441209E2BA00A49D01 /* Module.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Module.h; sourceTree = "<group>"; };
C0E3AA451209E2BA00A49D01 /* Module.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Module.cpp; sourceTree = "<group>"; };
- C0E3AA481209E45000A49D01 /* ModuleMac.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = ModuleMac.mm; sourceTree = "<group>"; };
+ C0E3AA481209E45000A49D01 /* ModuleCF.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ModuleCF.cpp; sourceTree = "<group>"; };
C517388012DF8F4F00EE3F47 /* DragControllerAction.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DragControllerAction.h; sourceTree = "<group>"; };
C5237F5F12441CA300780472 /* WebEditorClientMac.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WebEditorClientMac.mm; sourceTree = "<group>"; };
C524538F189C6B85003DF476 /* WKActionSheetAssistant.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = WKActionSheetAssistant.h; path = ios/WKActionSheetAssistant.h; sourceTree = "<group>"; };
@@ -3756,10 +3756,8 @@
children = (
BCE0937614FB128B001138D9 /* LayerHostingContext.h */,
BCE0937514FB128B001138D9 /* LayerHostingContext.mm */,
- 5160BFE013381DF900918999 /* Logging.mac.mm */,
1A24B5F011F531E800C38269 /* MachUtilities.cpp */,
1A24B5F111F531E800C38269 /* MachUtilities.h */,
- C0E3AA481209E45000A49D01 /* ModuleMac.mm */,
1A24BF39120896A600FBB059 /* SharedMemoryMac.cpp */,
296BD85B15019BC30071F424 /* StringUtilities.h */,
296BD85C15019BC30071F424 /* StringUtilities.mm */,
@@ -4334,6 +4332,22 @@
name = cf;
sourceTree = "<group>";
};
+ 3709504118A88BA40087AE5D /* cf */ = {
+ isa = PBXGroup;
+ children = (
+ C0E3AA481209E45000A49D01 /* ModuleCF.cpp */,
+ );
+ path = cf;
+ sourceTree = "<group>";
+ };
+ 3709504218A88CDE0087AE5D /* foundation */ = {
+ isa = PBXGroup;
+ children = (
+ 5160BFE013381DF900918999 /* LoggingFoundation.mm */,
+ );
+ path = foundation;
+ sourceTree = "<group>";
+ };
37C4C08318149C2A003688B9 /* Cocoa */ = {
isa = PBXGroup;
children = (
@@ -5501,7 +5515,9 @@
isa = PBXGroup;
children = (
1AE00D6818327C1200087DD7 /* IPC */,
+ 3709504118A88BA40087AE5D /* cf */,
1AA2E51A12E4C05600BC4966 /* cg */,
+ 3709504218A88CDE0087AE5D /* foundation */,
1A7E814E1152D2240003695B /* mac */,
51B15A7D138439B200321AD8 /* unix */,
51A7F2F4125BF8D4008AEB1D /* Logging.cpp */,
@@ -7744,14 +7760,14 @@
1A1D8BA11731A36300141DA4 /* LocalStorageDatabase.cpp in Sources */,
1A8C728C1738477C000A6554 /* LocalStorageDatabaseTracker.cpp in Sources */,
51A7F2F5125BF8D4008AEB1D /* Logging.cpp in Sources */,
- 5160BFE113381DF900918999 /* Logging.mac.mm in Sources */,
+ 5160BFE113381DF900918999 /* LoggingFoundation.mm in Sources */,
1A24B5F211F531E800C38269 /* MachUtilities.cpp in Sources */,
1A232902162C867300D82F7A /* MessageDecoder.cpp in Sources */,
1A2328FE162C866A00D82F7A /* MessageEncoder.cpp in Sources */,
1A3EED0E161A535400AEB4F5 /* MessageReceiverMap.cpp in Sources */,
1A9E328E182165A900F5D04C /* WKRemoteObjectInterface.mm in Sources */,
C0E3AA7B1209E83500A49D01 /* Module.cpp in Sources */,
- C0E3AA7A1209E83000A49D01 /* ModuleMac.mm in Sources */,
+ C0E3AA7A1209E83000A49D01 /* ModuleCF.cpp in Sources */,
370F34A21829BE1E009027C8 /* WKNavigationData.mm in Sources */,
BCB0AEEA122F53E300B1341E /* MutableDictionary.cpp in Sources */,
C02BFF1E1251502E009CCBEA /* NativeWebKeyboardEventMac.mm in Sources */,