Index: chrome/browser/devtools/devtools_ui_bindings.cc |
diff --git a/chrome/browser/devtools/devtools_ui_bindings.cc b/chrome/browser/devtools/devtools_ui_bindings.cc |
index 4d1450840bdc099ca874ed13710dfaae7cb0f3a2..bde3a141ad1469c72d0ba2a69ca3258358a06243 100644 |
--- a/chrome/browser/devtools/devtools_ui_bindings.cc |
+++ b/chrome/browser/devtools/devtools_ui_bindings.cc |
@@ -188,8 +188,7 @@ class DefaultBindingsDelegate : public DevToolsUIBindings::Delegate { |
virtual void ActivateWindow() OVERRIDE; |
virtual void CloseWindow() OVERRIDE {} |
- virtual void SetContentsInsets( |
- int left, int top, int right, int bottom) OVERRIDE {} |
+ virtual void SetInspectedPageBounds(const gfx::Rect& rect) OVERRIDE {} |
virtual void SetContentsResizingStrategy( |
const gfx::Insets& insets, const gfx::Size& min_size) OVERRIDE {} |
virtual void InspectElementCompleted() OVERRIDE {} |
@@ -415,9 +414,8 @@ void DevToolsUIBindings::CloseWindow() { |
delegate_->CloseWindow(); |
} |
-void DevToolsUIBindings::SetContentsInsets( |
- int top, int left, int bottom, int right) { |
- delegate_->SetContentsInsets(top, left, bottom, right); |
+void DevToolsUIBindings::SetInspectedPageBounds(const gfx::Rect& rect) { |
+ delegate_->SetInspectedPageBounds(rect); |
} |
void DevToolsUIBindings::SetContentsResizingStrategy( |