mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Fix Mac OS X compile errors due to Chromium 69409 update.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@153 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -927,9 +927,9 @@ void CefBrowserImpl::UIT_GetDocumentTextNotify(CefFrame* frame,
|
||||
WebKit::WebFrame* web_frame = GetWebFrame(frame);
|
||||
if(web_frame) {
|
||||
// Retrieve the document string
|
||||
std::wstring wstr = webkit_glue::DumpDocumentText(web_frame);
|
||||
string16 wstr = webkit_glue::DumpDocumentText(web_frame);
|
||||
std::string str;
|
||||
WideToUTF8(wstr.c_str(), wstr.length(), &str);
|
||||
UTF16ToUTF8(wstr.c_str(), wstr.length(), &str);
|
||||
// Write the document string to the stream
|
||||
writer->Write(str.c_str(), str.size(), 1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user