 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/platform/scheduler/child/scheduler_helper.h | 
| diff --git a/third_party/WebKit/Source/platform/scheduler/child/scheduler_helper.h b/third_party/WebKit/Source/platform/scheduler/child/scheduler_helper.h | 
| index 02380606dc687b9dd9b47f12cb8a582f24dd6650..5b6b7301bb6028292df7c69938b40d3a03ae4d02 100644 | 
| --- a/third_party/WebKit/Source/platform/scheduler/child/scheduler_helper.h | 
| +++ b/third_party/WebKit/Source/platform/scheduler/child/scheduler_helper.h | 
| @@ -64,7 +64,7 @@ class BLINK_PLATFORM_EXPORT SchedulerHelper | 
| // Returns true if Shutdown() has been called. Otherwise returns false. | 
| bool IsShutdown() const { return !task_queue_manager_.get(); } | 
| - void CheckOnValidThread() const { | 
| + inline void CheckOnValidThread() const { | 
| 
alex clarke (OOO till 29th)
2016/09/15 12:19:35
does this make any difference?
 
altimin
2016/09/15 15:52:10
It gives us guarantee that we will not call this f
 | 
| DCHECK(thread_checker_.CalledOnValidThread()); | 
| } |