Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4171)

Unified Diff: chrome/browser/history/history_publisher_win.cc

Issue 11050009: Use ScopedCOMInitializer in more places. While this doesn't always simplify code, it does mean we … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/history/history_publisher_win.cc
===================================================================
--- chrome/browser/history/history_publisher_win.cc (revision 159813)
+++ chrome/browser/history/history_publisher_win.cc (working copy)
@@ -5,7 +5,6 @@
#include "chrome/browser/history/history_publisher.h"
#include <atlsafe.h>
-#include <objbase.h>
#include <oleauto.h>
#include <wtypes.h>
@@ -70,11 +69,9 @@
}
HistoryPublisher::HistoryPublisher() {
- CoInitialize(NULL);
}
HistoryPublisher::~HistoryPublisher() {
- CoUninitialize();
}
bool HistoryPublisher::Init() {

Powered by Google App Engine
This is Rietveld 408576698