Skip to content

Commit a97f1e5

Browse files
committed
[CMake] Fix build after 313638@main by using canonical include path for IOSMouseEventTestHarness.h
https://bugs.webkit.org/show_bug.cgi?id=315260 rdar://177590639 Reviewed by Charlie Wolfe and BJ Burg. SwitchInputTests.mm imported "IOSMouseEventTestHarness.h" with a bare filename. This resolved under the Xcode build because of its header search paths, but broke the Mac CMake build, which only sees the header via its repo-relative path. Match the convention used by every other consumer of this header (SampledPageTopColor.mm, UIDelegate.mm, UnifiedPDFTests.mm, iOSMouseSupport.mm, NavigationAction.mm) and the harness's own .mm: import as "Helpers/ios/IOSMouseEventTestHarness.h". * Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SwitchInputTests.mm: Canonical link: https://commits.webkit.org/313645@main
1 parent f537618 commit a97f1e5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SwitchInputTests.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
#if PLATFORM(COCOA)
2929

30-
#import "IOSMouseEventTestHarness.h"
30+
#import "Helpers/ios/IOSMouseEventTestHarness.h"
3131
#import "InstanceMethodSwizzler.h"
3232
#import "Helpers/PlatformUtilities.h"
3333
#import "Helpers/Test.h"

0 commit comments

Comments
 (0)