From 5091c42ec0df2e8f6f9c5767a0ba82fa56a64841 Mon Sep 17 00:00:00 2001 From: "dcheng@chromium.org" Date: Mon, 17 Jun 2013 18:46:29 +0000 Subject: Rewrite scoped_ptr(NULL) to use the default ctor. This is a manual cleanup of call sites that invoke scoped_ptr's constructor with an explicit NULL argument, since the clang tooling infrastructure does not work on Windows. Also fixes a misuse of scoped_ptr 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 --- chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'chrome/browser/profiles') 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) { -- cgit v1.1