Title: [212255] trunk/Source/WebCore
Revision
212255
Author
aakash_j...@apple.com
Date
2017-02-13 15:10:12 -0800 (Mon, 13 Feb 2017)

Log Message

Remove unused WebCoreThreadSafe.h
https://bugs.webkit.org/show_bug.cgi?id=168236

Reviewed by Dan Bernstein.

* platform/ios/wak/WebCoreThreadSafe.h: Removed.
* WebCore.xcodeproj/project.pbxproj: Removed WebCoreThreadSafe.h
* platform/ios/wak/WebCoreThread.mm: Removed WebCoreThreadSafe.h and included WAKWindow.h directly

Modified Paths

Removed Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (212254 => 212255)


--- trunk/Source/WebCore/ChangeLog	2017-02-13 23:10:10 UTC (rev 212254)
+++ trunk/Source/WebCore/ChangeLog	2017-02-13 23:10:12 UTC (rev 212255)
@@ -1,3 +1,14 @@
+2017-02-13  Aakash Jain  <aakash_j...@apple.com>
+
+        Remove unused WebCoreThreadSafe.h
+        https://bugs.webkit.org/show_bug.cgi?id=168236
+
+        Reviewed by Dan Bernstein.
+
+        * platform/ios/wak/WebCoreThreadSafe.h: Removed.
+        * WebCore.xcodeproj/project.pbxproj: Removed WebCoreThreadSafe.h
+        * platform/ios/wak/WebCoreThread.mm: Removed WebCoreThreadSafe.h and included WAKWindow.h directly
+
 2017-02-13  Anders Carlsson  <ander...@apple.com>
 
         Fix iOS build.

Modified: trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj (212254 => 212255)


--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj	2017-02-13 23:10:10 UTC (rev 212254)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj	2017-02-13 23:10:12 UTC (rev 212255)
@@ -3989,7 +3989,6 @@
 		A14832CA187F678000DA63A6 /* WebCoreThreadMessage.h in Headers */ = {isa = PBXBuildFile; fileRef = A148329C187F508700DA63A6 /* WebCoreThreadMessage.h */; settings = {ATTRIBUTES = (Private, ); }; };
 		A14832CB187F67B400DA63A6 /* WebCoreThreadRun.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A148329D187F508700DA63A6 /* WebCoreThreadRun.cpp */; };
 		A14832CC187F67C400DA63A6 /* WebCoreThreadRun.h in Headers */ = {isa = PBXBuildFile; fileRef = A148329E187F508700DA63A6 /* WebCoreThreadRun.h */; settings = {ATTRIBUTES = (Private, ); }; };
-		A14832CD187F682E00DA63A6 /* WebCoreThreadSafe.h in Headers */ = {isa = PBXBuildFile; fileRef = A148329F187F508700DA63A6 /* WebCoreThreadSafe.h */; };
 		A14832CE187F683400DA63A6 /* WebCoreThreadSystemInterface.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A14832A0187F508700DA63A6 /* WebCoreThreadSystemInterface.cpp */; };
 		A14832CF187F684700DA63A6 /* WebCoreThreadSystemInterface.h in Headers */ = {isa = PBXBuildFile; fileRef = A14832A1187F508700DA63A6 /* WebCoreThreadSystemInterface.h */; settings = {ATTRIBUTES = (Private, ); }; };
 		A149786E1ABAF33800CEF7E4 /* ContentFilter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A149786C1ABAF33800CEF7E4 /* ContentFilter.cpp */; };
@@ -11785,7 +11784,6 @@
 		A148329C187F508700DA63A6 /* WebCoreThreadMessage.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebCoreThreadMessage.h; sourceTree = "<group>"; };
 		A148329D187F508700DA63A6 /* WebCoreThreadRun.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WebCoreThreadRun.cpp; sourceTree = "<group>"; };
 		A148329E187F508700DA63A6 /* WebCoreThreadRun.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebCoreThreadRun.h; sourceTree = "<group>"; };
-		A148329F187F508700DA63A6 /* WebCoreThreadSafe.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebCoreThreadSafe.h; sourceTree = "<group>"; };
 		A14832A0187F508700DA63A6 /* WebCoreThreadSystemInterface.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WebCoreThreadSystemInterface.cpp; sourceTree = "<group>"; };
 		A14832A1187F508700DA63A6 /* WebCoreThreadSystemInterface.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebCoreThreadSystemInterface.h; sourceTree = "<group>"; };
 		A14832A2187F508700DA63A6 /* WKContentObservation.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WKContentObservation.cpp; sourceTree = "<group>"; };
@@ -20001,7 +19999,6 @@
 				A148329C187F508700DA63A6 /* WebCoreThreadMessage.h */,
 				A148329D187F508700DA63A6 /* WebCoreThreadRun.cpp */,
 				A148329E187F508700DA63A6 /* WebCoreThreadRun.h */,
-				A148329F187F508700DA63A6 /* WebCoreThreadSafe.h */,
 				A14832A0187F508700DA63A6 /* WebCoreThreadSystemInterface.cpp */,
 				A14832A1187F508700DA63A6 /* WebCoreThreadSystemInterface.h */,
 				A14832A2187F508700DA63A6 /* WKContentObservation.cpp */,
@@ -28683,7 +28680,6 @@
 				A14832C9187F676B00DA63A6 /* WebCoreThreadInternal.h in Headers */,
 				A14832CA187F678000DA63A6 /* WebCoreThreadMessage.h in Headers */,
 				A14832CC187F67C400DA63A6 /* WebCoreThreadRun.h in Headers */,
-				A14832CD187F682E00DA63A6 /* WebCoreThreadSafe.h in Headers */,
 				A14832CF187F684700DA63A6 /* WebCoreThreadSystemInterface.h in Headers */,
 				0F099D0917B968A100FF84B9 /* WebCoreTypedArrayController.h in Headers */,
 				37F818FD0D657606005E1F05 /* WebCoreURLResponse.h in Headers */,

Modified: trunk/Source/WebCore/platform/ios/wak/WebCoreThread.mm (212254 => 212255)


--- trunk/Source/WebCore/platform/ios/wak/WebCoreThread.mm	2017-02-13 23:10:10 UTC (rev 212254)
+++ trunk/Source/WebCore/platform/ios/wak/WebCoreThread.mm	2017-02-13 23:10:12 UTC (rev 212255)
@@ -32,10 +32,10 @@
 #import "FloatingPointEnvironment.h"
 #import "RuntimeApplicationChecks.h"
 #import "ThreadGlobalData.h"
+#import "WAKWindow.h"
 #import "WebCoreThreadInternal.h"
 #import "WebCoreThreadMessage.h"
 #import "WebCoreThreadRun.h"
-#import "WebCoreThreadSafe.h"
 #import "WKUtilities.h"
 
 #import <runtime/InitializeThreading.h>

Deleted: trunk/Source/WebCore/platform/ios/wak/WebCoreThreadSafe.h (212254 => 212255)


--- trunk/Source/WebCore/platform/ios/wak/WebCoreThreadSafe.h	2017-02-13 23:10:10 UTC (rev 212254)
+++ trunk/Source/WebCore/platform/ios/wak/WebCoreThreadSafe.h	2017-02-13 23:10:12 UTC (rev 212255)
@@ -1,61 +0,0 @@
-/*
- * Copyright (C) 2006, 2007, 2008, 2009 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 <Foundation/Foundation.h>
-
-@class WebEvent;
-
-// Listing of methods that are currently thread-safe.
-
-// FIXME: It's not OK to have these additional definitions of all these classes,
-// which can get out of sync with the originals, and also unclear whether there is
-// any reason we need them any more. Should use the real headers instead.
-
-@interface WAKView : NSObject
-@end
-
-@interface WebView : WAKView
-- (void)reload:(id)sender;
-- (void)stopLoading:(id)sender;
-- (BOOL)canGoBack;
-- (void)goBack;
-- (BOOL)canGoForward;
-- (void)goForward;
-@end
-
-@interface WebFrame : NSObject
-- (void)loadRequest:(NSURLRequest *)request;
-@end
-
-@interface WAKResponder : NSObject
-@end
-
-@interface WAKWindow : WAKResponder
-- (void)sendEvent:(WebEvent *)event;
-@end
-
-@protocol WebPolicyDecisionListener <NSObject>
-- (void)use;
-@end
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to