summaryrefslogtreecommitdiff
path: root/Source/WebKit2/WebProcess/InjectedBundle/API/gtk/WebKitFrame.cpp
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
commit1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch)
tree46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebKit2/WebProcess/InjectedBundle/API/gtk/WebKitFrame.cpp
parent32761a6cee1d0dee366b885b7b9c777e67885688 (diff)
downloadWebKitGtk-tarball-master.tar.gz
Diffstat (limited to 'Source/WebKit2/WebProcess/InjectedBundle/API/gtk/WebKitFrame.cpp')
-rw-r--r--Source/WebKit2/WebProcess/InjectedBundle/API/gtk/WebKitFrame.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/WebKit2/WebProcess/InjectedBundle/API/gtk/WebKitFrame.cpp b/Source/WebKit2/WebProcess/InjectedBundle/API/gtk/WebKitFrame.cpp
index 1691587aa..d7b1bddac 100644
--- a/Source/WebKit2/WebProcess/InjectedBundle/API/gtk/WebKitFrame.cpp
+++ b/Source/WebKit2/WebProcess/InjectedBundle/API/gtk/WebKitFrame.cpp
@@ -36,7 +36,7 @@ struct _WebKitFramePrivate {
WEBKIT_DEFINE_TYPE(WebKitFrame, webkit_frame, G_TYPE_OBJECT)
-static void webkit_frame_class_init(WebKitFrameClass* klass)
+static void webkit_frame_class_init(WebKitFrameClass*)
{
}
@@ -47,6 +47,11 @@ WebKitFrame* webkitFrameCreate(WebFrame* webFrame)
return frame;
}
+WebFrame* webkitFrameGetWebFrame(WebKitFrame* frame)
+{
+ return frame->priv->webFrame.get();
+}
+
/**
* webkit_frame_is_main_frame:
* @frame: a #WebKitFrame