Index: Source/devtools/front_end/profiler/CPUProfileFlameChart.js |
diff --git a/Source/devtools/front_end/profiler/CPUProfileFlameChart.js b/Source/devtools/front_end/profiler/CPUProfileFlameChart.js |
index 29cfcc45da46a2842fca10e0f37ea46ed2c8b7ba..239b4a12e6a44a354d07a9e7dfaf5f8b28dca490 100644 |
--- a/Source/devtools/front_end/profiler/CPUProfileFlameChart.js |
+++ b/Source/devtools/front_end/profiler/CPUProfileFlameChart.js |
@@ -657,7 +657,7 @@ WebInspector.CPUProfileFlameChart.OverviewPane.prototype = { |
{ |
if (this._updateTimerId) |
return; |
- this._updateTimerId = requestAnimationFrame(this.update.bind(this)); |
+ this._updateTimerId = this.element.window().requestAnimationFrame(this.update.bind(this)); |
apavlov
2014/11/15 09:57:18
Can we define this as a shortcut on WI.View, too?
dgozman
2014/11/15 11:46:25
The less thoughtful the shortcut, the easier it wo
|
}, |
update: function() |