fix minor vs2012 warning

chrome\browser\extensions\window_open_apitest.cc(416) : warning C4703: potentially uninitialized local pointer variable 'newtab' used

[email protected]
BUG=143646


Review URL: https://chromiumcodereview.appspot.com/11175021

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163161 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/extensions/window_open_apitest.cc b/chrome/browser/extensions/window_open_apitest.cc
index a8f6b74..884af52 100644
--- a/chrome/browser/extensions/window_open_apitest.cc
+++ b/chrome/browser/extensions/window_open_apitest.cc
@@ -370,7 +370,7 @@
   GURL start_url(std::string("chrome-extension://") +
       last_loaded_extension_id_ + "/test.html");
   ui_test_utils::NavigateToURL(browser(), start_url);
-  WebContents* newtab;
+  WebContents* newtab = NULL;
   ASSERT_NO_FATAL_FAILURE(OpenWindow(chrome::GetActiveWebContents(browser()),
                           start_url.Resolve("newtab.html"), true, &newtab));
 
@@ -405,7 +405,7 @@
       test_data_dir_.AppendASCII("uitest").AppendASCII("window_open")));
 
   ui_test_utils::NavigateToURL(browser(), GURL("about:blank"));
-  WebContents* newtab;
+  WebContents* newtab = NULL;
   ASSERT_NO_FATAL_FAILURE(OpenWindow(chrome::GetActiveWebContents(browser()),
       GURL(std::string("chrome-extension://") + last_loaded_extension_id_ +
           "/newtab.html"), false, &newtab));