summaryrefslogtreecommitdiffstats
path: root/chrome/browser/history/history_publisher_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/history/history_publisher_win.cc')
-rw-r--r--chrome/browser/history/history_publisher_win.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/history/history_publisher_win.cc b/chrome/browser/history/history_publisher_win.cc
index ef4fb7f..72c0f1d 100644
--- a/chrome/browser/history/history_publisher_win.cc
+++ b/chrome/browser/history/history_publisher_win.cc
@@ -10,11 +10,10 @@
#include <wtypes.h>
#include "base/registry.h"
-#include "base/scoped_comptr_win.h"
namespace history {
-const wchar_t* const HistoryPublisher::kRegKeyRegisteredIndexersInfo =
+const wchar_t* HistoryPublisher::kRegKeyRegisteredIndexersInfo =
L"Software\\Google\\Google Chrome\\IndexerPlugins";
// static
@@ -61,7 +60,7 @@ bool HistoryPublisher::ReadRegisteredIndexersFromRegistry() {
CLSID clsid;
CLSIDFromString(static_cast<LPOLESTR>(
const_cast<TCHAR*>(iter.Name())), &clsid);
- ScopedComPtr<IChromeHistoryIndexer> indexer;
+ CComPtr<IChromeHistoryIndexer> indexer;
HRESULT hr = CoCreateInstance(clsid, NULL, CLSCTX_INPROC,
__uuidof(IChromeHistoryIndexer),
reinterpret_cast<void**>(&indexer));