diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-21 06:36:35 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-21 06:36:35 +0000 |
commit | e5e0a6cb26d4b61ab249449e0ff6b9ad3520e2b0 (patch) | |
tree | 86d0f8e94e8e608ec312bae39cecd2bffadbddc0 /tools | |
parent | e0304c48b7720bf7a985e99601c02f9af73b28aa (diff) | |
download | chromium_src-e5e0a6cb26d4b61ab249449e0ff6b9ad3520e2b0.zip chromium_src-e5e0a6cb26d4b61ab249449e0ff6b9ad3520e2b0.tar.gz chromium_src-e5e0a6cb26d4b61ab249449e0ff6b9ad3520e2b0.tar.bz2 |
Fix base:: namespace for Lock.
TEST=it compiles
BUG=none
Review URL: http://codereview.chromium.org/6265018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72111 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rw-r--r-- | tools/memory_watcher/call_stack.cc | 4 | ||||
-rw-r--r-- | tools/memory_watcher/memory_hook.cc | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/memory_watcher/call_stack.cc b/tools/memory_watcher/call_stack.cc index 93d941e..957ff69 100644 --- a/tools/memory_watcher/call_stack.cc +++ b/tools/memory_watcher/call_stack.cc @@ -35,7 +35,7 @@ typedef BOOL (__stdcall *t_SymGetModuleInfo64)(HANDLE, DWORD64, PIMAGEHLP_MODULE64); // static -Lock CallStack::dbghelp_lock_; +base:Lock CallStack::dbghelp_lock_; // static bool CallStack::dbghelp_loaded_ = false; // static @@ -373,7 +373,7 @@ void CallStack::ToString(PrivateAllocatorString* output) { } -Lock AllocationStack::freelist_lock_; +base::Lock AllocationStack::freelist_lock_; AllocationStack* AllocationStack::freelist_ = NULL; void* AllocationStack::operator new(size_t size) { diff --git a/tools/memory_watcher/memory_hook.cc b/tools/memory_watcher/memory_hook.cc index 0c0a05d..b6ef00f 100644 --- a/tools/memory_watcher/memory_hook.cc +++ b/tools/memory_watcher/memory_hook.cc @@ -275,7 +275,7 @@ static BOOL WINAPI Perftools_VirtualFreeEx(HANDLE process, LPVOID address, return patch_VirtualFreeEx()(process, address, size, type); } -static Lock known_maps_lock; +static base::Lock known_maps_lock; static std::map<void*, int> known_maps; static LPVOID WINAPI Perftools_MapViewOfFileEx(HANDLE hFileMappingObject, |