| Index: base/win/scoped_handle.cc
|
| ===================================================================
|
| --- base/win/scoped_handle.cc (revision 140907)
|
| +++ base/win/scoped_handle.cc (working copy)
|
| @@ -16,7 +16,8 @@
|
|
|
| struct Info {
|
| const void* owner;
|
| - const void* pc;
|
| + const void* pc1;
|
| + const void* pc2;
|
| DWORD thread_id;
|
| };
|
| typedef std::map<HANDLE, Info> HandleMap;
|
| @@ -33,7 +34,7 @@
|
|
|
| // Static.
|
| void VerifierTraits::StartTracking(HANDLE handle, const void* owner,
|
| - const void* pc) {
|
| + const void* pc1, const void* pc2) {
|
| if (OSInfo::GetInstance()->version() > VERSION_XP)
|
| return;
|
|
|
| @@ -48,7 +49,7 @@
|
| return;
|
| }
|
|
|
| - Info handle_info = { owner, pc, thread_id };
|
| + Info handle_info = { owner, pc1, pc2, thread_id };
|
| std::pair<HANDLE, Info> item(handle, handle_info);
|
| std::pair<HandleMap::iterator, bool> result = g_handle_map.Get().insert(item);
|
| if (!result.second) {
|
| @@ -60,7 +61,7 @@
|
|
|
| // Static.
|
| void VerifierTraits::StopTracking(HANDLE handle, const void* owner,
|
| - const void* pc) {
|
| + const void* pc1, const void* pc2) {
|
| if (OSInfo::GetInstance()->version() > VERSION_XP)
|
| return;
|
|
|
|
|