Commit fff716eb authored by abarth@webkit.org's avatar abarth@webkit.org

Fix build break.

* webkit/webkitwebview.cpp:
(webkit_web_view_get_encoding):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94903 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 7474a735
2011-09-10 Adam Barth <abarth@webkit.org>
Fix build break.
* webkit/webkitwebview.cpp:
(webkit_web_view_get_encoding):
2011-09-09 Fady Samuel <fsamuel@chromium.org>
Move pageScaleFactor code from Frame.{h|cpp} to Page.{h|cpp}
......
......@@ -4531,7 +4531,7 @@ gdouble webkit_web_view_get_progress(WebKitWebView* webView)
const gchar* webkit_web_view_get_encoding(WebKitWebView* webView)
{
g_return_val_if_fail(WEBKIT_IS_WEB_VIEW(webView), NULL);
String encoding = core(webView)->mainFrame()->document()->loader()->writer()->deprecatedFrameEncoding();
String encoding = core(webView)->mainFrame()->document()->encoding();
if (encoding.isEmpty())
return 0;
webView->priv->encoding = encoding.utf8();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment