| Index: base/win/scoped_comptr.h
|
| diff --git a/base/win/scoped_comptr.h b/base/win/scoped_comptr.h
|
| index ade12fe549abb0c202708452e9ad12ffb9e817de..5ce60e2b688f603b2b681e42a270e41e6156f704 100644
|
| --- a/base/win/scoped_comptr.h
|
| +++ b/base/win/scoped_comptr.h
|
| @@ -43,8 +43,9 @@ class ScopedComPtr : public scoped_refptr<Interface> {
|
| ~ScopedComPtr() {
|
| // We don't want the smart pointer class to be bigger than the pointer
|
| // it wraps.
|
| - COMPILE_ASSERT(sizeof(ScopedComPtr<Interface, interface_id>) ==
|
| - sizeof(Interface*), ScopedComPtrSize);
|
| + static_assert(
|
| + sizeof(ScopedComPtr<Interface, interface_id>) == sizeof(Interface*),
|
| + "ScopedComPtrSize");
|
| }
|
|
|
| // Explicit Release() of the held object. Useful for reuse of the
|
|
|