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

Unified Diff: chrome/browser/chromeos/status/power_menu_button.cc

Issue 7425001: Change the variable name to follow the coding rule. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 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/browser/chromeos/status/network_menu.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/status/power_menu_button.cc
diff --git a/chrome/browser/chromeos/status/power_menu_button.cc b/chrome/browser/chromeos/status/power_menu_button.cc
index 04ec6b3f8c67ceceb6e15a647be54bdc7b0085ae..d145f20c3c24742903bb6a0c12add17679d2b720 100644
--- a/chrome/browser/chromeos/status/power_menu_button.cc
+++ b/chrome/browser/chromeos/status/power_menu_button.cc
@@ -137,9 +137,9 @@ void PowerMenuButton::RunMenu(views::View* source, const gfx::Point& pt) {
// to a NativeWindow that we can pass to MenuItemView::RunMenuAt().
gfx::NativeWindow window = GTK_WINDOW(source->GetWidget()->GetNativeView());
- gfx::Point screen_loc;
- views::View::ConvertPointToScreen(source, &screen_loc);
- gfx::Rect bounds(screen_loc, source->size());
+ gfx::Point screen_location;
+ views::View::ConvertPointToScreen(source, &screen_location);
+ gfx::Rect bounds(screen_location, source->size());
menu_->RunMenuAt(
window,
this,
« no previous file with comments | « chrome/browser/chromeos/status/network_menu.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698