Skip to content

Commit 3efec60

Browse files
Unreviewed, fix the internal build after updating to a newer SDK
There shouldn't be any need to include and implement these method stubs anymore, even when building against the shipping iOS 11 SDK. * TestWebKitAPI/ios/DataInteractionSimulator.mm: (-[MockDropSession session]): Deleted. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@224517 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent e9fc1e2 commit 3efec60

File tree

2 files changed

+10
-19
lines changed

2 files changed

+10
-19
lines changed

Tools/ChangeLog

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
2017-11-06 Wenson Hsieh <[email protected]>
2+
3+
Unreviewed, fix the internal build after updating to a newer SDK
4+
5+
There shouldn't be any need to include and implement these method stubs anymore,
6+
even when building against the shipping iOS 11 SDK.
7+
8+
* TestWebKitAPI/ios/DataInteractionSimulator.mm:
9+
(-[MockDropSession session]): Deleted.
10+
111
2017-11-06 Wenson Hsieh <[email protected]>
212

313
[Attachment Support] Implement delegate hooks for attachment element insertion and removal

Tools/TestWebKitAPI/ios/DataInteractionSimulator.mm

-19
Original file line numberDiff line numberDiff line change
@@ -35,20 +35,6 @@
3535
#import <UIKit/UIDragInteraction.h>
3636
#import <UIKit/UIDragItem.h>
3737
#import <UIKit/UIInteraction.h>
38-
39-
#if USE(APPLE_INTERNAL_SDK)
40-
#import <UIKit/UIDragSession.h>
41-
#import <UIKit/UIDragging.h>
42-
#else
43-
44-
@protocol UIDraggingInfo <NSObject>
45-
@end
46-
47-
@interface UIDraggingSession : NSObject <UIDraggingInfo>
48-
@end
49-
50-
#endif
51-
5238
#import <WebKit/WKWebViewPrivate.h>
5339
#import <WebKit/_WKFocusedElementInfo.h>
5440
#import <WebKit/_WKFormInputSession.h>
@@ -200,11 +186,6 @@ - (instancetype)initWithProviders:(NSArray<UIItemProvider *> *)providers locatio
200186
return [super initWithItems:items.get() location:locationInWindow window:window allowMove:allowMove];
201187
}
202188

203-
- (UIDraggingSession *)session
204-
{
205-
return nil;
206-
}
207-
208189
- (BOOL)isLocal
209190
{
210191
return YES;

0 commit comments

Comments
 (0)