summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions
diff options
context:
space:
mode:
authorrafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-06 00:22:30 +0000
committerrafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-06 00:22:30 +0000
commitebc1b688ec329581638e14253cc4fabb500a37a6 (patch)
tree81415000285ba639cc8a1a4f64f5a1c3b972c9bf /chrome/browser/extensions
parentdf58e236b4681b2202b6ed2cea9e0ae9166b8f0a (diff)
downloadchromium_src-ebc1b688ec329581638e14253cc4fabb500a37a6.zip
chromium_src-ebc1b688ec329581638e14253cc4fabb500a37a6.tar.gz
chromium_src-ebc1b688ec329581638e14253cc4fabb500a37a6.tar.bz2
Minor extensions code cleanup
This removes an extraneous ALLOW_THIS_IN_INITIALIZER, and also adds to a comment in browser_init.cc the relevant bug. TBR=aa,tfarina Review URL: http://codereview.chromium.org/668181 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40802 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions')
-rw-r--r--chrome/browser/extensions/extension_function_dispatcher.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/extensions/extension_function_dispatcher.cc b/chrome/browser/extensions/extension_function_dispatcher.cc
index 445a867..36f8651 100644
--- a/chrome/browser/extensions/extension_function_dispatcher.cc
+++ b/chrome/browser/extensions/extension_function_dispatcher.cc
@@ -265,8 +265,7 @@ ExtensionFunctionDispatcher::ExtensionFunctionDispatcher(
RenderViewHost* render_view_host,
Delegate* delegate,
const GURL& url)
- : ALLOW_THIS_IN_INITIALIZER_LIST(
- profile_(render_view_host->process()->profile())),
+ : profile_(render_view_host->process()->profile()),
render_view_host_(render_view_host),
delegate_(delegate),
url_(url),