Index: chrome/browser/notifications/notifications_interactive_uitest.cc |
diff --git a/chrome/browser/notifications/notifications_interactive_uitest.cc b/chrome/browser/notifications/notifications_interactive_uitest.cc |
index d8e4b2702f6b8c65c90bf86e17514fa37ba854dd..55d4a82383a878a1805cfbcb5a1260c046759c97 100644 |
--- a/chrome/browser/notifications/notifications_interactive_uitest.cc |
+++ b/chrome/browser/notifications/notifications_interactive_uitest.cc |
@@ -20,8 +20,7 @@ class NotificationsPermissionTest : public UITest { |
TEST_F(NotificationsPermissionTest, TestUserGestureInfobar) { |
const wchar_t kDocRoot[] = L"chrome/test/data"; |
- scoped_refptr<HTTPTestServer> server = |
- HTTPTestServer::CreateServer(kDocRoot, NULL); |
+ scoped_refptr<HTTPTestServer> server(HTTPTestServer::CreateServer(kDocRoot)); |
ASSERT_TRUE(server.get() != NULL); |
scoped_refptr<BrowserProxy> browser(automation()->GetBrowserWindow(0)); |
@@ -47,8 +46,7 @@ TEST_F(NotificationsPermissionTest, TestUserGestureInfobar) { |
TEST_F(NotificationsPermissionTest, TestNoUserGestureInfobar) { |
const wchar_t kDocRoot[] = L"chrome/test/data"; |
- scoped_refptr<HTTPTestServer> server = |
- HTTPTestServer::CreateServer(kDocRoot, NULL); |
+ scoped_refptr<HTTPTestServer> server(HTTPTestServer::CreateServer(kDocRoot)); |
ASSERT_TRUE(server.get() != NULL); |
scoped_refptr<BrowserProxy> browser(automation()->GetBrowserWindow(0)); |