| Index: base/message_loop/message_pump_win.cc
|
| diff --git a/base/message_loop/message_pump_win.cc b/base/message_loop/message_pump_win.cc
|
| index ad89b7f638461542a3e5b588110cd8849fa3bd91..3f94c80b7a4015030340fda9901e534df4c63fc3 100644
|
| --- a/base/message_loop/message_pump_win.cc
|
| +++ b/base/message_loop/message_pump_win.cc
|
| @@ -10,6 +10,7 @@
|
| #include "base/message_loop/message_loop.h"
|
| #include "base/metrics/histogram.h"
|
| #include "base/process/memory.h"
|
| +#include "base/profiler/scoped_tracker.h"
|
| #include "base/strings/stringprintf.h"
|
| #include "base/win/wrapped_window_proc.h"
|
|
|
| @@ -319,6 +320,11 @@ void MessagePumpForUI::HandleTimerMessage() {
|
| }
|
|
|
| bool MessagePumpForUI::ProcessNextWindowsMessage() {
|
| + // TODO(vadimt): Remove ScopedTracker below once crbug.com/440919 is fixed.
|
| + tracked_objects::ScopedTracker tracking_profile(
|
| + FROM_HERE_WITH_EXPLICIT_FUNCTION(
|
| + "440919 <<MessagePumpForUI::ProcessNextWindowsMessage>>"));
|
| +
|
| // If there are sent messages in the queue then PeekMessage internally
|
| // dispatches the message and returns false. We return true in this
|
| // case to ensure that the message loop peeks again instead of calling
|
|
|