| Index: chrome/common/notification_details.h
|
| diff --git a/chrome/common/notification_details.h b/chrome/common/notification_details.h
|
| index ee1011160c8b0adeaf2307def7ab7b642982b853..65f2b2b7fbfec19b0fbd07978aa13d18f209285b 100644
|
| --- a/chrome/common/notification_details.h
|
| +++ b/chrome/common/notification_details.h
|
| @@ -33,7 +33,7 @@ class NotificationDetails {
|
| }
|
|
|
| protected:
|
| - NotificationDetails(const void* ptr) : ptr_(ptr) {}
|
| + explicit NotificationDetails(const void* ptr) : ptr_(ptr) {}
|
|
|
| // Declaring this const allows Details<T> to be used with both T = Foo and
|
| // T = const Foo.
|
| @@ -43,8 +43,8 @@ class NotificationDetails {
|
| template <class T>
|
| class Details : public NotificationDetails {
|
| public:
|
| - Details(T* ptr) : NotificationDetails(ptr) {}
|
| - Details(const NotificationDetails& other)
|
| + explicit Details(T* ptr) : NotificationDetails(ptr) {}
|
| + explicit Details(const NotificationDetails& other)
|
| : NotificationDetails(other) {}
|
|
|
| T* operator->() const { return ptr(); }
|
|
|