Index: base/win/scoped_comptr.h |
diff --git a/base/win/scoped_comptr.h b/base/win/scoped_comptr.h |
index 8d3c93150789b4d4cf72ae58408e922f9cc891c3..68c99e02d01adc9303f4dc96911c0ffb13fd06e3 100644 |
--- a/base/win/scoped_comptr.h |
+++ b/base/win/scoped_comptr.h |
@@ -116,13 +116,6 @@ class ScopedComPtr { |
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) { |
- DCHECK(object); |
- return object->QueryInterface(IID_PPV_ARGS(GetAddressOf())); |
- } |
- |
// Convenience wrapper around CoCreateInstance |
HRESULT CreateInstance(const CLSID& clsid, |
IUnknown* outer = nullptr, |