summaryrefslogtreecommitdiff
path: root/Source/WebKit2/UIProcess/API/C/efl/WKView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit2/UIProcess/API/C/efl/WKView.cpp')
-rw-r--r--Source/WebKit2/UIProcess/API/C/efl/WKView.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/WebKit2/UIProcess/API/C/efl/WKView.cpp b/Source/WebKit2/UIProcess/API/C/efl/WKView.cpp
index 03f6930dd..a03d189df 100644
--- a/Source/WebKit2/UIProcess/API/C/efl/WKView.cpp
+++ b/Source/WebKit2/UIProcess/API/C/efl/WKView.cpp
@@ -20,6 +20,7 @@
#include "config.h"
#include "WKView.h"
+#include "EwkViewImpl.h"
#include "WKAPICast.h"
#include "ewk_view_private.h"
@@ -32,5 +33,7 @@ WKViewRef WKViewCreate(Evas* canvas, WKContextRef contextRef, WKPageGroupRef pag
WKPageRef WKViewGetPage(WKViewRef viewRef)
{
- return toAPI(ewk_view_page_get(toImpl(viewRef)));
+ EwkViewImpl* viewImpl = EwkViewImpl::fromEvasObject(toImpl(viewRef));
+
+ return viewImpl->wkPage();
}