diff options
Diffstat (limited to 'Source/WebKit2/UIProcess/API/qt/tests/qrawwebview/tst_qrawwebview.cpp')
-rw-r--r-- | Source/WebKit2/UIProcess/API/qt/tests/qrawwebview/tst_qrawwebview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebKit2/UIProcess/API/qt/tests/qrawwebview/tst_qrawwebview.cpp b/Source/WebKit2/UIProcess/API/qt/tests/qrawwebview/tst_qrawwebview.cpp index 0338ecff6..31102b876 100644 --- a/Source/WebKit2/UIProcess/API/qt/tests/qrawwebview/tst_qrawwebview.cpp +++ b/Source/WebKit2/UIProcess/API/qt/tests/qrawwebview/tst_qrawwebview.cpp @@ -82,7 +82,7 @@ public: void load(const QString& html) { m_frameLoaded = false; - WKPageLoadURL(m_webView->pageRef(), WKURLCreateWithUTF8CString(html.toAscii().data())); + WKPageLoadURL(m_webView->pageRef(), WKURLCreateWithUTF8CString(html.toLocal8Bit().data())); QVERIFY(::waitForSignal(this, SIGNAL(loaded()), 5000)); } |