mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update source files for bracket style
This commit is contained in:
@ -37,17 +37,19 @@ namespace client {
|
||||
AddRef(); \
|
||||
return S_OK; \
|
||||
}
|
||||
#define IUNKNOWN_IMPLEMENTATION \
|
||||
ULONG __stdcall AddRef() { return ++ref_count_; } \
|
||||
ULONG __stdcall Release() { \
|
||||
if (--ref_count_ == 0) { \
|
||||
delete this; \
|
||||
return 0U; \
|
||||
} \
|
||||
return ref_count_; \
|
||||
} \
|
||||
\
|
||||
protected: \
|
||||
#define IUNKNOWN_IMPLEMENTATION \
|
||||
ULONG __stdcall AddRef() { \
|
||||
return ++ref_count_; \
|
||||
} \
|
||||
ULONG __stdcall Release() { \
|
||||
if (--ref_count_ == 0) { \
|
||||
delete this; \
|
||||
return 0U; \
|
||||
} \
|
||||
return ref_count_; \
|
||||
} \
|
||||
\
|
||||
protected: \
|
||||
ULONG ref_count_;
|
||||
|
||||
class DropTargetWin : public IDropTarget {
|
||||
|
Reference in New Issue
Block a user