| Index: base/scoped_comptr_win.h
|
| ===================================================================
|
| --- base/scoped_comptr_win.h (revision 20158)
|
| +++ base/scoped_comptr_win.h (working copy)
|
| @@ -89,6 +89,13 @@
|
| return ptr_->QueryInterface(p);
|
| }
|
|
|
| + // QI for times when the IID is not associated with the type.
|
| + HRESULT QueryInterface(const IID& iid, void** obj) {
|
| + DCHECK(obj != NULL);
|
| + DCHECK(ptr_ != NULL);
|
| + return ptr_->QueryInterface(iid, obj);
|
| + }
|
| +
|
| // Queries |other| for the interface this object wraps and returns the
|
| // error code from the other->QueryInterface operation.
|
| HRESULT QueryFrom(IUnknown* object) {
|
|
|