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

Unified Diff: chrome_frame/buggy_bho_handling.cc

Issue 9121046: Cleanup in ProcessSingleton. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 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_frame/buggy_bho_handling.cc
diff --git a/chrome_frame/buggy_bho_handling.cc b/chrome_frame/buggy_bho_handling.cc
index 227c99968f74747a553c5b6799c326a01e278b84..65dac03282f039bca47c8cac3a9e3fd5ff75afa0 100644
--- a/chrome_frame/buggy_bho_handling.cc
+++ b/chrome_frame/buggy_bho_handling.cc
@@ -5,6 +5,7 @@
#include "chrome_frame/buggy_bho_handling.h"
#include "base/logging.h"
+#include "base/process_util.h"
#include "base/win/scoped_comptr.h"
#include "chrome_frame/exception_barrier.h"
@@ -155,7 +156,7 @@ HRESULT BuggyBhoTls::PatchBuggyBHOs(IWebBrowser2* browser) {
bool BuggyBhoTls::PatchIfBuggy(IUnknown* unk, const IID& diid) {
DCHECK(unk);
PROC* methods = *reinterpret_cast<PROC**>(unk);
- HMODULE mod = GetModuleFromAddress(methods[0]);
+ HMODULE mod = base::GetModuleFromAddress(methods[0]);
if (!IsBuggyBho(mod))
return false;

Powered by Google App Engine
This is Rietveld 408576698