summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/browser_command_controller.cc
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-30 21:14:23 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-30 21:14:23 +0000
commitd4b2d23a6a1769f5ccf59c6b8e3dd15594abc371 (patch)
treefb0e30491d6cc149d3b0eb75a86cf6e94a50ad7a /chrome/browser/ui/browser_command_controller.cc
parent6dd1134ebf789b23d79c2ff09126fbf82e9d4d68 (diff)
downloadchromium_src-d4b2d23a6a1769f5ccf59c6b8e3dd15594abc371.zip
chromium_src-d4b2d23a6a1769f5ccf59c6b8e3dd15594abc371.tar.gz
chromium_src-d4b2d23a6a1769f5ccf59c6b8e3dd15594abc371.tar.bz2
chrome/browser/ui: Remove use of ALLOW_THIS_IN_INITIALIZER_LIST.
It's no longer providing value as the MSVC warning is disabled during compilation. Refer to bug for details. BUG=234765 TBR=ben@chromium.org Review URL: https://codereview.chromium.org/14581002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197470 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/browser_command_controller.cc')
-rw-r--r--chrome/browser/ui/browser_command_controller.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/ui/browser_command_controller.cc b/chrome/browser/ui/browser_command_controller.cc
index 5752de2..f6ded3c 100644
--- a/chrome/browser/ui/browser_command_controller.cc
+++ b/chrome/browser/ui/browser_command_controller.cc
@@ -92,8 +92,8 @@ class SwitchToMetroUIHandler
: public ShellIntegration::DefaultWebClientObserver {
public:
SwitchToMetroUIHandler()
- : ALLOW_THIS_IN_INITIALIZER_LIST(default_browser_worker_(
- new ShellIntegration::DefaultBrowserWorker(this))),
+ : default_browser_worker_(
+ new ShellIntegration::DefaultBrowserWorker(this)),
first_check_(true) {
default_browser_worker_->StartCheckIsDefault();
}
@@ -157,7 +157,7 @@ BrowserCommandController::BrowserCommandController(
ProfileManager* profile_manager)
: browser_(browser),
profile_manager_(profile_manager),
- ALLOW_THIS_IN_INITIALIZER_LIST(command_updater_(this)),
+ command_updater_(this),
block_command_execution_(false),
last_blocked_command_id_(-1),
last_blocked_command_disposition_(CURRENT_TAB) {