diff options
Diffstat (limited to 'ui/base/dragdrop/drop_target.cc')
-rw-r--r-- | ui/base/dragdrop/drop_target.cc | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/ui/base/dragdrop/drop_target.cc b/ui/base/dragdrop/drop_target.cc index 84b2745..0783ddd 100644 --- a/ui/base/dragdrop/drop_target.cc +++ b/ui/base/dragdrop/drop_target.cc @@ -16,14 +16,8 @@ DropTarget::DropTarget(HWND hwnd) : hwnd_(hwnd), ref_count_(0) { DCHECK(hwnd); - // The main browser process registers OLE, as do various test runners; if you - // fail the next call, you're presumably reaching here from test code that - // doesn't trigger any of those spots. Adding an appropriate - // ScopedOleInitializer will fix this, but beware you don't add it somewhere - // that causes nested initializations for some other test, which will add log - // warnings. HRESULT result = RegisterDragDrop(hwnd, this); - DCHECK(SUCCEEDED(result)) << "OLE is not initialized"; + DCHECK(SUCCEEDED(result)); } DropTarget::~DropTarget() { |