aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-web-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index 48dfd225a..689835af9 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -1145,7 +1145,7 @@ title_changed_cb (WebKitWebView *web_view,
const char *uri;
char *title;
WebKitWebFrame *frame;
- EphyHistoryService *history = EPHY_HISTORY_SERVICE (ephy_embed_shell_get_global_history_service (ephy_embed_shell_get_default ()));
+ EphyHistoryService *history = EPHY_WEB_VIEW (web_view)->priv->history_service;
frame = webkit_web_view_get_main_frame (web_view);
uri = webkit_web_frame_get_uri (frame);