From 8ee65baac4ab9e3beb67674adbc6a210e2708604 Mon Sep 17 00:00:00 2001 From: "tfarina@chromium.org" Date: Tue, 12 Apr 2011 20:53:23 +0000 Subject: Include base/win/scoped_comptr.h instead of base/scoped_comptr_win.h. Fix up all the callers to use the new location and namespace. Also, delete the stub file since it isn't included by anyone more. (Note: This was a TODO for brettw). BUG=None TEST=None R=brettw@chromium.org Review URL: http://codereview.chromium.org/6825055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81303 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome_frame/buggy_bho_handling.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'chrome_frame/buggy_bho_handling.cc') diff --git a/chrome_frame/buggy_bho_handling.cc b/chrome_frame/buggy_bho_handling.cc index bcd2427..227c999 100644 --- a/chrome_frame/buggy_bho_handling.cc +++ b/chrome_frame/buggy_bho_handling.cc @@ -1,11 +1,11 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome_frame/buggy_bho_handling.h" #include "base/logging.h" -#include "base/scoped_comptr_win.h" +#include "base/win/scoped_comptr.h" #include "chrome_frame/exception_barrier.h" #include "chrome_frame/function_stub.h" @@ -125,15 +125,15 @@ HRESULT BuggyBhoTls::PatchBuggyBHOs(IWebBrowser2* browser) { DCHECK(browser); DCHECK(web_browser2_ == NULL); - ScopedComPtr cpc; + base::win::ScopedComPtr cpc; HRESULT hr = cpc.QueryFrom(browser); if (SUCCEEDED(hr)) { const GUID sinks[] = { DIID_DWebBrowserEvents2, DIID_DWebBrowserEvents }; for (size_t i = 0; i < arraysize(sinks); ++i) { - ScopedComPtr cp; + base::win::ScopedComPtr cp; cpc->FindConnectionPoint(sinks[i], cp.Receive()); if (cp) { - ScopedComPtr connections; + base::win::ScopedComPtr connections; cp->EnumConnections(connections.Receive()); if (connections) { CONNECTDATA cd = {0}; @@ -159,7 +159,7 @@ bool BuggyBhoTls::PatchIfBuggy(IUnknown* unk, const IID& diid) { if (!IsBuggyBho(mod)) return false; - ScopedComPtr disp; + base::win::ScopedComPtr disp; HRESULT hr = unk->QueryInterface(diid, reinterpret_cast(disp.Receive())); if (FAILED(hr)) // Sometimes only IDispatch QI is supported -- cgit v1.1