Fix Mac/Linux compile errors.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@705 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2012-06-22 19:25:44 +00:00
parent a6aded4716
commit c167b5f3a6
2 changed files with 18 additions and 2 deletions

View File

@ -35,11 +35,11 @@ CefString CefDragDataImpl::GetLinkMetadata() {
}
CefString CefDragDataImpl::GetFragmentText() {
return data_.text.is_null() ? CefString() : data_.text.string();
return data_.text.is_null() ? CefString() : CefString(data_.text.string());
}
CefString CefDragDataImpl::GetFragmentHtml() {
return data_.html.is_null() ? CefString() : data_.html.string();
return data_.html.is_null() ? CefString() : CefString(data_.html.string());
}
CefString CefDragDataImpl::GetFragmentBaseURL() {