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

Unified Diff: chrome_frame/utils.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
« base/process_util_win.cc ('K') | « chrome_frame/utils.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/utils.cc
diff --git a/chrome_frame/utils.cc b/chrome_frame/utils.cc
index cb4f0c07102010347a3e14d9ac306f6b950f1297..ba411671abd8698ac55b642f3352feda02c2d41e 100644
--- a/chrome_frame/utils.cc
+++ b/chrome_frame/utils.cc
@@ -542,12 +542,6 @@ bool GetModuleVersion(HMODULE module, uint32* high, uint32* low) {
return ok;
}
-HMODULE GetModuleFromAddress(void* address) {
- MEMORY_BASIC_INFORMATION info = {0};
- ::VirtualQuery(address, &info, sizeof(info));
- return reinterpret_cast<HMODULE>(info.AllocationBase);
-}
-
namespace {
const int kMaxSubmenuDepth = 10;
« base/process_util_win.cc ('K') | « chrome_frame/utils.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698