mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Add initial Linux support (issue #40).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@338 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -110,7 +110,7 @@ int CEF_CALLBACK domdocument_has_selection(struct _cef_domdocument_t* self)
|
||||
{
|
||||
DCHECK(self);
|
||||
if(!self)
|
||||
return NULL;
|
||||
return 0;
|
||||
|
||||
return CefDOMDocumentCppToC::Get(self)->HasSelection();
|
||||
}
|
||||
@ -134,7 +134,7 @@ int CEF_CALLBACK domdocument_get_selection_start_offset(
|
||||
{
|
||||
DCHECK(self);
|
||||
if(!self)
|
||||
return NULL;
|
||||
return 0;
|
||||
|
||||
return CefDOMDocumentCppToC::Get(self)->GetSelectionStartOffset();
|
||||
}
|
||||
@ -158,7 +158,7 @@ int CEF_CALLBACK domdocument_get_selection_end_offset(
|
||||
{
|
||||
DCHECK(self);
|
||||
if(!self)
|
||||
return NULL;
|
||||
return 0;
|
||||
|
||||
return CefDOMDocumentCppToC::Get(self)->GetSelectionEndOffset();
|
||||
}
|
||||
|
Reference in New Issue
Block a user