diff options
Diffstat (limited to 'third_party/WebKit/Source/devtools/front_end/devtools.js')
-rw-r--r-- | third_party/WebKit/Source/devtools/front_end/devtools.js | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/third_party/WebKit/Source/devtools/front_end/devtools.js b/third_party/WebKit/Source/devtools/front_end/devtools.js index 9cb6bf2..9da8325 100644 --- a/third_party/WebKit/Source/devtools/front_end/devtools.js +++ b/third_party/WebKit/Source/devtools/front_end/devtools.js @@ -400,13 +400,7 @@ InspectorFrontendHostImpl.prototype = { */ setInspectedPageBounds: function(bounds) { - var converted = { - x: Math.round(DevToolsHost.convertLengthForEmbedder(bounds.x)), - y: Math.round(DevToolsHost.convertLengthForEmbedder(bounds.y)), - width: Math.round(DevToolsHost.convertLengthForEmbedder(bounds.width)), - height: Math.round(DevToolsHost.convertLengthForEmbedder(bounds.height)) - }; - DevToolsAPI.sendMessageToEmbedder("setInspectedPageBounds", [converted], null); + DevToolsAPI.sendMessageToEmbedder("setInspectedPageBounds", [bounds], null); }, /** |