summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_init.cc
diff options
context:
space:
mode:
authorjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-09 04:55:25 +0000
committerjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-09 04:55:25 +0000
commiteb04fd46ceb5d621cf9984065f26eb381ae4f440 (patch)
treecd0b1b51b3527e0d30ee2f2dea2af93f560c9b42 /chrome/browser/browser_init.cc
parent19f90bb2135c2094b4a0c9898f3e98ef4ac1a07b (diff)
downloadchromium_src-eb04fd46ceb5d621cf9984065f26eb381ae4f440.zip
chromium_src-eb04fd46ceb5d621cf9984065f26eb381ae4f440.tar.gz
chromium_src-eb04fd46ceb5d621cf9984065f26eb381ae4f440.tar.bz2
Fix the build in debug mode.
TBR=ben Review URL: http://codereview.chromium.org/115160 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15716 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_init.cc')
-rw-r--r--chrome/browser/browser_init.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/browser_init.cc b/chrome/browser/browser_init.cc
index d52e683..91900d0 100644
--- a/chrome/browser/browser_init.cc
+++ b/chrome/browser/browser_init.cc
@@ -8,6 +8,7 @@
#include "app/resource_bundle.h"
#include "base/basictypes.h"
#include "base/command_line.h"
+#include "base/compiler_specific.h"
#include "base/event_recorder.h"
#include "base/file_path.h"
#include "base/histogram.h"
@@ -76,7 +77,7 @@ class DefaultBrowserInfoBarDelegate : public ConfirmInfoBarDelegate {
profile_(contents->profile()),
action_taken_(false),
should_expire_(false),
- method_factory_(this) {
+ ALLOW_THIS_IN_INITIALIZER_LIST(method_factory_(this)) {
// We want the info-bar to stick-around for few seconds and then be hidden
// on the next navigation after that.
MessageLoop::current()->PostDelayedTask(FROM_HERE,