summaryrefslogtreecommitdiff
path: root/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundleIntentRequest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundleIntentRequest.cpp')
-rw-r--r--Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundleIntentRequest.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundleIntentRequest.cpp b/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundleIntentRequest.cpp
index 81c95c6c5..a4772ea56 100644
--- a/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundleIntentRequest.cpp
+++ b/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundleIntentRequest.cpp
@@ -27,10 +27,10 @@
#include "WKBundleIntentRequest.h"
#if ENABLE(WEB_INTENTS)
+#include "InjectedBundleIntent.h"
#include "InjectedBundleIntentRequest.h"
#include "WKAPICast.h"
#include "WKBundleAPICast.h"
-#include "WebIntentData.h"
using namespace WebKit;
#endif
@@ -44,11 +44,11 @@ WKTypeID WKBundleIntentRequestGetTypeID()
#endif
}
-WKIntentDataRef WKBundleIntentRequestCopyIntentData(WKBundleIntentRequestRef requestRef)
+WKBundleIntentRef WKBundleIntentRequestCopyIntent(WKBundleIntentRequestRef requestRef)
{
#if ENABLE(WEB_INTENTS)
- RefPtr<WebIntentData> webIntentData = toImpl(requestRef)->intent();
- return toAPI(webIntentData.release().leakRef());
+ RefPtr<InjectedBundleIntent> webIntent = toImpl(requestRef)->intent();
+ return toAPI(webIntent.release().leakRef());
#else
return 0;
#endif