summaryrefslogtreecommitdiffstats
path: root/chrome_frame/com_message_event.cc
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-12 20:53:23 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-12 20:53:23 +0000
commit8ee65baac4ab9e3beb67674adbc6a210e2708604 (patch)
tree44400d118d7813a8d7e16a67f074c6696f8868b3 /chrome_frame/com_message_event.cc
parentf1094b0275c82ead4b9aabbda24f5c2b3e8b4a1b (diff)
downloadchromium_src-8ee65baac4ab9e3beb67674adbc6a210e2708604.zip
chromium_src-8ee65baac4ab9e3beb67674adbc6a210e2708604.tar.gz
chromium_src-8ee65baac4ab9e3beb67674adbc6a210e2708604.tar.bz2
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
Diffstat (limited to 'chrome_frame/com_message_event.cc')
-rw-r--r--chrome_frame/com_message_event.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome_frame/com_message_event.cc b/chrome_frame/com_message_event.cc
index 8535999..32f1fc6 100644
--- a/chrome_frame/com_message_event.cc
+++ b/chrome_frame/com_message_event.cc
@@ -1,4 +1,4 @@
-// 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.
@@ -25,15 +25,15 @@ bool ComMessageEvent::Initialize(IOleContainer* container,
type_ = event_type;
// May remain NULL if container not IE
- ScopedComPtr<IHTMLEventObj> basic_event;
- ScopedComPtr<IHTMLDocument2> doc;
+ base::win::ScopedComPtr<IHTMLEventObj> basic_event;
+ base::win::ScopedComPtr<IHTMLDocument2> doc;
// Fetching doc may fail in non-IE containers
// and container might be NULL in some applications.
if (container)
container->QueryInterface(doc.Receive());
if (doc) {
- ScopedComPtr<IHTMLDocument4> doc4;
+ base::win::ScopedComPtr<IHTMLDocument4> doc4;
doc4.QueryFrom(doc);
DCHECK(doc4); // supported by IE5.5 and higher
if (doc4) {