Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Unified Diff: chrome/browser/ui/search/instant_ipc_sender.cc

Issue 148683002: Remove unused param "width_" from SearchBox::OnMarginChange(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/common/render_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/search/instant_ipc_sender.cc
diff --git a/chrome/browser/ui/search/instant_ipc_sender.cc b/chrome/browser/ui/search/instant_ipc_sender.cc
index 17271b53cd4591211e86988882d093448e13ec88..07b2d624822d536bce98bad3d61626643cc77fc4 100644
--- a/chrome/browser/ui/search/instant_ipc_sender.cc
+++ b/chrome/browser/ui/search/instant_ipc_sender.cc
@@ -16,8 +16,7 @@ class InstantIPCSenderImpl : public InstantIPCSender {
private:
virtual void SetOmniboxBounds(const gfx::Rect& bounds) OVERRIDE {
- Send(new ChromeViewMsg_SearchBoxMarginChange(
- routing_id(), bounds.x(), bounds.width()));
+ Send(new ChromeViewMsg_SearchBoxMarginChange(routing_id(), bounds.x()));
}
virtual void FocusChanged(OmniboxFocusState state,
@@ -41,8 +40,7 @@ class IncognitoInstantIPCSenderImpl : public InstantIPCSender {
private:
virtual void SetOmniboxBounds(const gfx::Rect& bounds) OVERRIDE {
- Send(new ChromeViewMsg_SearchBoxMarginChange(
- routing_id(), bounds.x(), bounds.width()));
+ Send(new ChromeViewMsg_SearchBoxMarginChange(routing_id(), bounds.x()));
}
DISALLOW_COPY_AND_ASSIGN(IncognitoInstantIPCSenderImpl);
« no previous file with comments | « no previous file | chrome/common/render_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698