Index: device/hid/hid_connection_win.cc |
diff --git a/device/hid/hid_connection_win.cc b/device/hid/hid_connection_win.cc |
index 1783092a0310e9b6d9f0638fc65d06ed37ea67a2..1e989a32aa2fcb248260b4469a9ff937d2d77494 100644 |
--- a/device/hid/hid_connection_win.cc |
+++ b/device/hid/hid_connection_win.cc |
@@ -10,7 +10,7 @@ |
#include "base/files/file.h" |
#include "base/message_loop/message_loop.h" |
#include "base/numerics/safe_conversions.h" |
-#include "base/profiler/scoped_profile.h" |
+#include "base/profiler/scoped_tracker.h" |
#include "base/win/object_watcher.h" |
#define INITGUID |
@@ -89,10 +89,9 @@ void PendingHidTransfer::TakeResultFromWindowsAPI(BOOL result) { |
} |
void PendingHidTransfer::OnObjectSignaled(HANDLE event_handle) { |
- // TODO(vadimt): Remove ScopedProfile below once crbug.com/418183 is fixed. |
- tracked_objects::ScopedProfile tracking_profile( |
- FROM_HERE_WITH_EXPLICIT_FUNCTION( |
- "PendingHidTransfer_OnObjectSignaled")); |
+ // TODO(vadimt): Remove ScopedTracker below once crbug.com/418183 is fixed. |
+ tracked_objects::ScopedTracker tracking_profile( |
+ FROM_HERE_WITH_EXPLICIT_FUNCTION("PendingHidTransfer_OnObjectSignaled")); |
callback_.Run(this, true); |
Release(); |