summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profiles
diff options
context:
space:
mode:
authordcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-17 18:46:29 +0000
committerdcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-17 18:46:29 +0000
commit5091c42ec0df2e8f6f9c5767a0ba82fa56a64841 (patch)
tree0471d8461ab6b9e93d21ac55c7ab642a2c0db7de /chrome/browser/profiles
parent747b1d3d7cd1ee6ce2bd0a54d2198683ba70ba8f (diff)
downloadchromium_src-5091c42ec0df2e8f6f9c5767a0ba82fa56a64841.zip
chromium_src-5091c42ec0df2e8f6f9c5767a0ba82fa56a64841.tar.gz
chromium_src-5091c42ec0df2e8f6f9c5767a0ba82fa56a64841.tar.bz2
Rewrite scoped_ptr<T>(NULL) to use the default ctor.
This is a manual cleanup of call sites that invoke scoped_ptr<T>'s constructor with an explicit NULL argument, since the clang tooling infrastructure does not work on Windows. Also fixes a misuse of scoped_ptr<T> in chrome_frame to hold memory allocated by operator new[]. BUG=173286 R=alexeypa@chromium.org, erg@chromium.org, jochen@chromium.org, mmenke@chromium.org, tommi@chromium.org Review URL: https://codereview.chromium.org/16943003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206763 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profiles')
-rw-r--r--chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc b/chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc
index f29f7f8..c918574 100644
--- a/chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc
+++ b/chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc
@@ -36,7 +36,6 @@ class ProfileShortcutManagerTest : public testing::Test {
ProfileShortcutManagerTest()
: ui_thread_(BrowserThread::UI, &message_loop_),
file_thread_(BrowserThread::FILE, &message_loop_),
- profile_shortcut_manager_(NULL),
profile_info_cache_(NULL),
fake_user_desktop_(base::DIR_USER_DESKTOP),
fake_system_desktop_(base::DIR_COMMON_DESKTOP) {