Index: Source/devtools/front_end/ui/ViewportDataGrid.js |
diff --git a/Source/devtools/front_end/ui/ViewportDataGrid.js b/Source/devtools/front_end/ui/ViewportDataGrid.js |
index 86f2950765ec7eaa4d13bc54099b754f80341275..41b695c6bf1a558feaceae3ac180ae8115a8b584 100644 |
--- a/Source/devtools/front_end/ui/ViewportDataGrid.js |
+++ b/Source/devtools/front_end/ui/ViewportDataGrid.js |
@@ -87,7 +87,7 @@ WebInspector.ViewportDataGrid.prototype = { |
if (this._updateScheduled) |
return; |
this._updateScheduled = true; |
- window.requestAnimationFrame(this._update.bind(this)); |
+ this.element.window().requestAnimationFrame(this._update.bind(this)); |
}, |
/** |