summaryrefslogtreecommitdiffstats
path: root/chrome/app
diff options
context:
space:
mode:
authorjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-25 02:02:46 +0000
committerjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-25 02:02:46 +0000
commit1e187afa75fe66d8525651c1f395c40e8227844d (patch)
tree28a2f0ea9a7c27305af52e8382b471a321a9af8b /chrome/app
parent67a54912d23c2a0c87065e9a876971fda54edf70 (diff)
downloadchromium_src-1e187afa75fe66d8525651c1f395c40e8227844d.zip
chromium_src-1e187afa75fe66d8525651c1f395c40e8227844d.tar.gz
chromium_src-1e187afa75fe66d8525651c1f395c40e8227844d.tar.bz2
Reverting 10318.
Reverting again... Review URL: http://codereview.chromium.org/28106 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10321 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app')
-rw-r--r--chrome/app/scoped_ole_initializer.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/chrome/app/scoped_ole_initializer.h b/chrome/app/scoped_ole_initializer.h
index 1dcc0d5..3560374 100644
--- a/chrome/app/scoped_ole_initializer.h
+++ b/chrome/app/scoped_ole_initializer.h
@@ -6,7 +6,6 @@
#define CHROME_APP_SCOPED_OLE_INITIALIZER_H_
#include "base/logging.h"
-#include "base/message_loop.h"
#include "build/build_config.h"
// Wraps OLE initialization in a cross-platform class meant to be used on the
@@ -20,16 +19,12 @@
class ScopedOleInitializer {
public:
ScopedOleInitializer() {
- msg_loop_ = MessageLoop::current();
int ole_result = OleInitialize(NULL);
DCHECK(ole_result == S_OK);
}
~ScopedOleInitializer() {
- DCHECK(msg_loop_ == MessageLoop::current());
OleUninitialize();
}
-
- MessageLoop* msg_loop_;
};
#else