Index: third_party/WebKit/Source/devtools/front_end/devtools.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/devtools.js b/third_party/WebKit/Source/devtools/front_end/devtools.js |
index 9cb6bf2ea736795ec797f12d140f1dca0b6183a4..9da83256889a48f117346f0f0adecedb18bad1f6 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); |
}, |
/** |