[WK2][EFL] Stop using internal C++ API in ewk_error
[WebKit-https.git] / Source / WebKit2 / UIProcess / API / efl / ewk_error_private.h
index 0a3873bb7b685c2aa6c01c281dd2e803ada848ff..54682f076b965c586dc7a31efb60af013fc68fad 100644 (file)
 #define ewk_error_private_h
 
 #include "WKEinaSharedString.h"
-#include <WKError.h>
 #include <WKRetainPtr.h>
+#include <WebKit2/WKBase.h>
 #include <wtf/PassOwnPtr.h>
-#include <wtf/text/WTFString.h>
 
 class EwkError {
 public:
@@ -44,7 +43,7 @@ public:
 
     const char* url() const;
     const char* description() const;
-    String domain() const;
+    WKRetainPtr<WKStringRef> domain() const;
     int errorCode() const;
     bool isCancellation() const;