diff options
Diffstat (limited to 'Tools/TestWebKitAPI/Tests/WebKit2/ScrollPinningBehaviors.cpp')
-rw-r--r-- | Tools/TestWebKitAPI/Tests/WebKit2/ScrollPinningBehaviors.cpp | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/Tools/TestWebKitAPI/Tests/WebKit2/ScrollPinningBehaviors.cpp b/Tools/TestWebKitAPI/Tests/WebKit2/ScrollPinningBehaviors.cpp index 5b628a932..015571f5f 100644 --- a/Tools/TestWebKitAPI/Tests/WebKit2/ScrollPinningBehaviors.cpp +++ b/Tools/TestWebKitAPI/Tests/WebKit2/ScrollPinningBehaviors.cpp @@ -24,15 +24,18 @@ */ #include "config.h" + +#if WK_HAVE_C_SPI + #include "JavaScriptTest.h" #include "PlatformUtilities.h" #include "PlatformWebView.h" #include "Test.h" #include <JavaScriptCore/JSContextRef.h> -#include <WebKit2/WKContextPrivate.h> -#include <WebKit2/WKPagePrivate.h> -#include <WebKit2/WKPreferencesPrivate.h> -#include <WebKit2/WKSerializedScriptValue.h> +#include <WebKit/WKContextPrivate.h> +#include <WebKit/WKPagePrivate.h> +#include <WebKit/WKPreferencesRefPrivate.h> +#include <WebKit/WKSerializedScriptValue.h> namespace TestWebKitAPI { @@ -95,3 +98,5 @@ TEST(WebKit2, ScrollPinningBehaviors) } } // namespace TestWebKitAPI + +#endif |