Index: base/win/scoped_comptr.h |
diff --git a/base/win/scoped_comptr.h b/base/win/scoped_comptr.h |
index 98cea0ff4c8a45f8612cdab90e7882d85b7e25c1..28906714ec45c4d3b9a9de4a6b155478368eaeca 100644 |
--- a/base/win/scoped_comptr.h |
+++ b/base/win/scoped_comptr.h |
@@ -133,8 +133,8 @@ 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 static_cast<IUnknown*>(my_identity.get()) == |
+ static_cast<IUnknown*>(other_identity.get()); |
dcheng
2014/11/12 23:37:54
I'm reverting this, because once the implicit conv
|
} |
// Provides direct access to the interface. |