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

Issue 51113006: Fix static set_close_on_deactivate overriding non-virtual base method (Closed)

Created:
7 years, 1 month ago by yao
Modified:
7 years, 1 month ago
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Renamed the method and variable name in derived class so that the method in based class will not be overridden. BUG=270888 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=233440

Patch Set 1 #

Patch Set 2 : update the usage of the renamed function set_close_on_deactivate_for_testing #

Total comments: 2

Patch Set 3 : Change function prototype from set_close_on_deactivate_for_testing(bool close) to clear_close_on_de… #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -12 lines) Patch
M chrome/browser/ui/views/avatar_menu_bubble_view.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/avatar_menu_bubble_view.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/avatar_menu_button_browsertest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/new_avatar_menu_button_browsertest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/profile_chooser_view.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/profile_chooser_view.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
yao
7 years, 1 month ago (2013-10-31 14:11:59 UTC) #1
noms (inactive)
Could you change the title of the issue to something more descriptive, like "Fix static ...
7 years, 1 month ago (2013-11-01 15:35:08 UTC) #2
noms (inactive)
lgtm
7 years, 1 month ago (2013-11-04 16:00:24 UTC) #3
yao
Hi Peter, Here's a small Cl that fix the name of a function & variable ...
7 years, 1 month ago (2013-11-04 16:08:40 UTC) #4
Peter Kasting
LGTM https://codereview.chromium.org/51113006/diff/20001/chrome/browser/ui/views/avatar_menu_bubble_view.h File chrome/browser/ui/views/avatar_menu_bubble_view.h (right): https://codereview.chromium.org/51113006/diff/20001/chrome/browser/ui/views/avatar_menu_bubble_view.h#newcode85 chrome/browser/ui/views/avatar_menu_bubble_view.h:85: static void set_close_on_deactivate_for_testing(bool close) { If these functions ...
7 years, 1 month ago (2013-11-04 22:19:32 UTC) #5
yao
https://codereview.chromium.org/51113006/diff/20001/chrome/browser/ui/views/avatar_menu_bubble_view.h File chrome/browser/ui/views/avatar_menu_bubble_view.h (right): https://codereview.chromium.org/51113006/diff/20001/chrome/browser/ui/views/avatar_menu_bubble_view.h#newcode85 chrome/browser/ui/views/avatar_menu_bubble_view.h:85: static void set_close_on_deactivate_for_testing(bool close) { On 2013/11/04 22:19:33, Peter ...
7 years, 1 month ago (2013-11-06 19:56:53 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yiyaoliu@chromium.org/51113006/180001
7 years, 1 month ago (2013-11-06 20:07:11 UTC) #7
commit-bot: I haz the power
7 years, 1 month ago (2013-11-07 00:48:39 UTC) #8
Message was sent while issue was closed.
Change committed as 233440

Powered by Google App Engine
This is Rietveld 408576698