mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Add CefDOMNode::IsSame() method.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@228 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -206,11 +206,11 @@ int CEF_CALLBACK v8value_is_same(struct _cef_v8value_t* self,
|
||||
struct _cef_v8value_t* that)
|
||||
{
|
||||
DCHECK(self);
|
||||
if(!self)
|
||||
DCHECK(that);
|
||||
if(!self || !that)
|
||||
return 0;
|
||||
|
||||
CefRefPtr<CefV8Value> thatPtr = CefV8ValueCppToC::Unwrap(that);
|
||||
return CefV8ValueCppToC::Get(self)->IsSame(thatPtr);
|
||||
return CefV8ValueCppToC::Get(self)->IsSame(CefV8ValueCppToC::Unwrap(that));
|
||||
}
|
||||
|
||||
int CEF_CALLBACK v8value_get_bool_value(struct _cef_v8value_t* self)
|
||||
|
Reference in New Issue
Block a user