summaryrefslogtreecommitdiffstats
path: root/base/process_util.h
diff options
context:
space:
mode:
authoralexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-16 22:46:17 +0000
committeralexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-16 22:46:17 +0000
commitf56d158f195ac3f01fd4effcab065afaaf1bde29 (patch)
tree7c4309b68f36d61c94694542530b3e652b6003d2 /base/process_util.h
parent96ccb0775beb6054adc6f5c45e1f09c20c5c222b (diff)
downloadchromium_src-f56d158f195ac3f01fd4effcab065afaaf1bde29.zip
chromium_src-f56d158f195ac3f01fd4effcab065afaaf1bde29.tar.gz
chromium_src-f56d158f195ac3f01fd4effcab065afaaf1bde29.tar.bz2
Fix base::GetModuleFromAddress() not to increment the module's reference count,
to match the behaviour expected by calling code. The original change was reverted by https://chromiumcodereview.appspot.com/10384209. BUG=124091,127933 Review URL: https://chromiumcodereview.appspot.com/10391169 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137547 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/process_util.h')
-rw-r--r--base/process_util.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/base/process_util.h b/base/process_util.h
index 074312b..8004d9c 100644
--- a/base/process_util.h
+++ b/base/process_util.h
@@ -146,7 +146,8 @@ BASE_EXPORT ProcessId GetCurrentProcId();
BASE_EXPORT ProcessHandle GetCurrentProcessHandle();
#if defined(OS_WIN)
-// Returns the module handle to which an address belongs.
+// Returns the module handle to which an address belongs. The reference count
+// of the module is not incremented.
BASE_EXPORT HMODULE GetModuleFromAddress(void* address);
#endif