mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Fix various Mac compile errors.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@115 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -113,6 +113,14 @@ std::string WebStringToStdString(const WebKit::WebString& str) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
WebKit::WebString StdWStringToWebString(const std::wstring& str) {
|
||||
return StdStringToWebString(WideToUTF8(str));
|
||||
}
|
||||
|
||||
std::wstring WebStringToStdWString(const WebKit::WebString& str) {
|
||||
return UTF8ToWide(WebStringToStdString(str));
|
||||
}
|
||||
|
||||
std::string GetProductVersion() {
|
||||
return std::string("Chrome/7.0.517.0");
|
||||
}
|
||||
|
Reference in New Issue
Block a user