Fix for https://bugs.webkit.org/show_bug.cgi?id=38471
[WebKit-https.git] / WebKit2 / UIProcess / WebPageProxy.h
index 1ea6d76..a10b8fe 100644 (file)
@@ -27,8 +27,8 @@
 #define WebPageProxy_h
 
 #include "DrawingAreaProxy.h"
-#include "RenderTreeExternalRepresentationCallback.h"
-#include "ScriptReturnValueCallback.h"
+#include "GenericCallback.h"
+#include "WKBase.h"
 #include "WebEvent.h"
 #include "WebFrameProxy.h"
 #include "WebHistoryClient.h"
@@ -67,6 +67,9 @@ class WebProcessProxy;
 class WebWheelEvent;
 class WebNavigationDataStore;
 
+typedef GenericCallback<WKStringRef> RenderTreeExternalRepresentationCallback;
+typedef GenericCallback<WKStringRef> ScriptReturnValueCallback;
+
 class WebPageProxy : public RefCounted<WebPageProxy> {
 public:
     static PassRefPtr<WebPageProxy> create(WebPageNamespace*, uint64_t pageID);