Index: Tools/TestWebKitAPI/PlatformUtilities.h |
diff --git a/Tools/TestWebKitAPI/PlatformUtilities.h b/Tools/TestWebKitAPI/PlatformUtilities.h |
index 10da84d3335995b833addcf43b69ee3cfae91a7b..a65017efebe573378f29b852b437762d231f3df7 100644 |
--- a/Tools/TestWebKitAPI/PlatformUtilities.h |
+++ b/Tools/TestWebKitAPI/PlatformUtilities.h |
@@ -29,24 +29,12 @@ |
#include <WebKit2/WKRetainPtr.h> |
#include <string> |
-#if PLATFORM(MAC) |
-#if __OBJC__ |
-@class NSString; |
-#else |
-class NSString; |
-#endif |
-#endif |
- |
namespace TestWebKitAPI { |
namespace Util { |
// Runs a platform runloop until the 'done' is true. |
void run(bool* done); |
-#if PLATFORM(WIN) |
-bool shouldTranslateMessage(const MSG&); |
-#endif |
- |
void sleep(double seconds); |
WKContextRef createContextWithInjectedBundle(); |
@@ -63,9 +51,6 @@ bool isKeyDown(WKNativeEventPtr); |
std::string toSTD(WKStringRef); |
std::string toSTD(WKRetainPtr<WKStringRef>); |
std::string toSTD(const char*); |
-#if PLATFORM(MAC) |
-std::string toSTD(NSString *); |
-#endif |
WKRetainPtr<WKStringRef> toWK(const char* utf8String); |