Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3447)

Unified Diff: chrome/browser/ui/views/frame/immersive_mode_controller_ash_browsertest.cc

Issue 16871010: Rewrite scoped_ptr<T>(NULL) to use the default ctor in chrome/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/frame/immersive_mode_controller_ash_browsertest.cc
diff --git a/chrome/browser/ui/views/frame/immersive_mode_controller_ash_browsertest.cc b/chrome/browser/ui/views/frame/immersive_mode_controller_ash_browsertest.cc
index 3a2e57ef87505252cd51212708c8f13e1814f34b..8259ab748fd6b4f22de8321ba61ca1b1042d2ae2 100644
--- a/chrome/browser/ui/views/frame/immersive_mode_controller_ash_browsertest.cc
+++ b/chrome/browser/ui/views/frame/immersive_mode_controller_ash_browsertest.cc
@@ -451,7 +451,7 @@ IN_PROC_BROWSER_TEST_F(ImmersiveModeControllerAshTest,
chrome::ToggleFullscreenMode(browser());
ASSERT_TRUE(controller()->IsEnabled());
- scoped_ptr<ImmersiveRevealedLock> lock(NULL);
+ scoped_ptr<ImmersiveRevealedLock> lock;
// 1) Test that if the mouse becomes hovered without the mouse moving due to a
// lock causing the top-of-window views to be revealed (and the mouse
@@ -496,8 +496,8 @@ IN_PROC_BROWSER_TEST_F(ImmersiveModeControllerAshTest,
// GetRevealedLock() specific tests.
IN_PROC_BROWSER_TEST_F(ImmersiveModeControllerAshTest, RevealedLock) {
- scoped_ptr<ImmersiveRevealedLock> lock1(NULL);
- scoped_ptr<ImmersiveRevealedLock> lock2(NULL);
+ scoped_ptr<ImmersiveRevealedLock> lock1;
+ scoped_ptr<ImmersiveRevealedLock> lock2;
// Immersive mode is not on by default.
EXPECT_FALSE(controller()->IsEnabled());
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view_layout.cc ('k') | chrome/browser/ui/views/notifications/balloon_view_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698