diff options
-rw-r--r-- | chrome/browser/tabs/tab_strip_model_unittest.cc | 2 | ||||
-rw-r--r-- | chrome/browser/window_sizer_unittest.cc | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/tabs/tab_strip_model_unittest.cc b/chrome/browser/tabs/tab_strip_model_unittest.cc index d438712..a755c47 100644 --- a/chrome/browser/tabs/tab_strip_model_unittest.cc +++ b/chrome/browser/tabs/tab_strip_model_unittest.cc @@ -992,7 +992,7 @@ class TabStripDummyDelegate : public TabStripModelDelegate { virtual ~TabStripDummyDelegate() {} // Overridden from TabStripModelDelegate: - virtual GURL GetBlankTabURL() const { return GURL("about:blank"); } + virtual GURL GetBlankTabURL() const { return NewTabUIURL(); } virtual void CreateNewStripWithContents(TabContents* contents, const gfx::Point& creation_point) {} virtual int GetDragActions() const { return 0; } diff --git a/chrome/browser/window_sizer_unittest.cc b/chrome/browser/window_sizer_unittest.cc index e837c42..826c176 100644 --- a/chrome/browser/window_sizer_unittest.cc +++ b/chrome/browser/window_sizer_unittest.cc @@ -274,7 +274,7 @@ TEST(WindowSizerTest, LastWindowBoundsCase) { { // normal, in the middle of the screen somewhere. gfx::Rect window_bounds; - bool maximized; + bool maximized = false; GetWindowBounds(tentwentyfour, tentwentyfour, gfx::Rect(), gfx::Rect(10, 10, 500, 400), false, LAST_ACTIVE, &window_bounds, &maximized); @@ -284,7 +284,7 @@ TEST(WindowSizerTest, LastWindowBoundsCase) { { // normal, but maximized gfx::Rect window_bounds; - bool maximized; + bool maximized = false; GetWindowBounds(tentwentyfour, tentwentyfour, gfx::Rect(), gfx::Rect(10, 10, 500, 400), true, LAST_ACTIVE, &window_bounds, &maximized); @@ -294,7 +294,7 @@ TEST(WindowSizerTest, LastWindowBoundsCase) { { // offset would put the new window offscreen at the bottom gfx::Rect window_bounds; - bool maximized; + bool maximized = false; GetWindowBounds(tentwentyfour, tentwentyfour, gfx::Rect(), gfx::Rect(10, 360, 500, 400), false, LAST_ACTIVE, &window_bounds, &maximized); @@ -304,7 +304,7 @@ TEST(WindowSizerTest, LastWindowBoundsCase) { { // offset would put the new window offscreen at the right gfx::Rect window_bounds; - bool maximized; + bool maximized = false; GetWindowBounds(tentwentyfour, tentwentyfour, gfx::Rect(), gfx::Rect(520, 10, 500, 400), false, LAST_ACTIVE, &window_bounds, &maximized); @@ -314,7 +314,7 @@ TEST(WindowSizerTest, LastWindowBoundsCase) { { // offset would put the new window offscreen at the bottom right gfx::Rect window_bounds; - bool maximized; + bool maximized = false; GetWindowBounds(tentwentyfour, tentwentyfour, gfx::Rect(), gfx::Rect(520, 360, 500, 400), false, LAST_ACTIVE, &window_bounds, &maximized); |