summaryrefslogtreecommitdiffstats
path: root/chrome/browser/instant/instant_page.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/instant/instant_page.cc')
-rw-r--r--chrome/browser/instant/instant_page.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/instant/instant_page.cc b/chrome/browser/instant/instant_page.cc
index 85f5699..ba79353 100644
--- a/chrome/browser/instant/instant_page.cc
+++ b/chrome/browser/instant/instant_page.cc
@@ -36,8 +36,9 @@ void InstantPage::SetPopupBounds(const gfx::Rect& bounds) {
Send(new ChromeViewMsg_SearchBoxPopupResize(routing_id(), bounds));
}
-void InstantPage::SetMarginSize(const int start, const int end) {
- Send(new ChromeViewMsg_SearchBoxMarginChange(routing_id(), start, end));
+void InstantPage::SetOmniboxBounds(const gfx::Rect& bounds) {
+ Send(new ChromeViewMsg_SearchBoxMarginChange(
+ routing_id(), bounds.x(), bounds.width()));
}
void InstantPage::InitializeFonts() {