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

Unified Diff: chrome/views/combo_box.cc

Issue 42013: Slight code change to make some global variables const. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 9 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 | « chrome/views/chrome_menu.cc ('k') | chrome/views/event.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/views/combo_box.cc
===================================================================
--- chrome/views/combo_box.cc (revision 11293)
+++ chrome/views/combo_box.cc (working copy)
@@ -51,8 +51,8 @@
// to the corner of rcItem. It does not seem to be queryable from the theme.
// It is consistent on all versions of Windows from 2K to Vista, and is
// invariant with respect to the combobox border size. We could conceivably
- // get this number from rect_item.x, but it seems fragile to depend on position
- // here, inside of the layout code.
+ // get this number from rect_item.x, but it seems fragile to depend on
+ // position here, inside of the layout code.
const int kItemOffset = 3;
int item_to_button_distance = std::max(kItemOffset - border.width(), 0);
« no previous file with comments | « chrome/views/chrome_menu.cc ('k') | chrome/views/event.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698