fixed base URL for webview on android doesn't work (#16279)

fixed base URL for webview on android doesn't work
This commit is contained in:
Jeff Wang 2016-08-02 16:49:24 +08:00 committed by minggo
parent 808a10429b
commit f8b2d8fe0f
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ namespace cocos2d {
}
void WebViewImpl::loadHTMLString(const std::string &string, const std::string &baseURL) {
JniHelper::callStaticVoidMethod(className, "loadHTMLString", _viewTag, string, baseURL);
JniHelper::callStaticVoidMethod(className, "loadHTMLString", _viewTag, string, getFixedBaseUrl(baseURL));
}
void WebViewImpl::loadURL(const std::string &url) {