| Index: base/win/scoped_comptr.h
|
| diff --git a/base/win/scoped_comptr.h b/base/win/scoped_comptr.h
|
| index 98cea0ff4c8a45f8612cdab90e7882d85b7e25c1..373c0c3ba50985bb83c4a93b3626def6601a9977 100644
|
| --- a/base/win/scoped_comptr.h
|
| +++ b/base/win/scoped_comptr.h
|
| @@ -133,8 +133,7 @@ class ScopedComPtr : public scoped_refptr<Interface> {
|
| ScopedComPtr<IUnknown> other_identity;
|
| other->QueryInterface(other_identity.Receive());
|
|
|
| - return static_cast<IUnknown*>(my_identity) ==
|
| - static_cast<IUnknown*>(other_identity);
|
| + return my_identity == other_identity;
|
| }
|
|
|
| // Provides direct access to the interface.
|
|
|