Index: Source/devtools/front_end/toolbox/InspectedPagePlaceholder.js |
diff --git a/Source/devtools/front_end/toolbox/InspectedPagePlaceholder.js b/Source/devtools/front_end/toolbox/InspectedPagePlaceholder.js |
index 47b4a52e6443a4036290079a34f69f74a8e35dc4..d007e335c44781e106fa52b5fd6bd0d22eb39218 100644 |
--- a/Source/devtools/front_end/toolbox/InspectedPagePlaceholder.js |
+++ b/Source/devtools/front_end/toolbox/InspectedPagePlaceholder.js |
@@ -58,8 +58,8 @@ WebInspector.InspectedPagePlaceholder.prototype = { |
_scheduleUpdate: function() |
{ |
if (this._updateId) |
- window.cancelAnimationFrame(this._updateId); |
- this._updateId = window.requestAnimationFrame(this.update.bind(this)); |
+ this.element.window().cancelAnimationFrame(this._updateId); |
+ this._updateId = this.element.window().requestAnimationFrame(this.update.bind(this)); |
}, |
/** |