 Chromium Code Reviews
 Chromium Code Reviews Issue 2258133002:
  [scheduler] Implement time-based cpu throttling.  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master
    
  
    Issue 2258133002:
  [scheduler] Implement time-based cpu throttling.  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master| Index: third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h | 
| diff --git a/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h b/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h | 
| index 17c31580f266a8a390531897b224ecd63ce9900b..da5ef2160a66d9143e4d150d205432849a50bc4d 100644 | 
| --- a/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h | 
| +++ b/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h | 
| @@ -35,7 +35,10 @@ public: | 
| void didProcessTask() override; | 
| // scheduler::TaskTimeObserver implementation | 
| - void ReportTaskTime(double startTime, double endTime) override; | 
| + void ReportTaskTime( | 
| + scheduler::TaskQueue*, | 
| 
Sami
2016/09/12 17:49:09
Could you make this const?
 
altimin
2016/09/14 11:23:14
Not easily — we may need to disable this queue whe
 
Sami
2016/09/14 13:50:33
I see. Let's keep this non-const then.
 | 
| + double startTime, | 
| + double endTime) override; | 
| private: | 
| Member<InspectedFrames> m_inspectedFrames; |