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

Unified Diff: chrome/browser/ui/tabs/pinned_tab_service_unittest.cc

Issue 1198313003: Fix the browser match rules. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use scoped_ptr<Browser> instead. Created 5 years, 5 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/tabs/pinned_tab_service_unittest.cc
diff --git a/chrome/browser/ui/tabs/pinned_tab_service_unittest.cc b/chrome/browser/ui/tabs/pinned_tab_service_unittest.cc
index f5bdf118eaf32c2c916f061e5eecfbf65d711179..b5700b06de5e336d9a2e3f6c9ea5dbbb88b3a481 100644
--- a/chrome/browser/ui/tabs/pinned_tab_service_unittest.cc
+++ b/chrome/browser/ui/tabs/pinned_tab_service_unittest.cc
@@ -56,8 +56,8 @@ TEST_F(PinnedTabServiceTest, Popup) {
// Create a popup.
Browser::CreateParams params(Browser::TYPE_POPUP, profile(),
browser()->host_desktop_type());
- scoped_ptr<Browser> popup(
- chrome::CreateBrowserWithTestWindowForParams(&params));
+ scoped_ptr<Browser> popup =
+ chrome::CreateBrowserWithTestWindowForParams(&params);
// Close the browser. This should trigger saving the tabs. No need to destroy
// the browser (this happens automatically in the test destructor).

Powered by Google App Engine
This is Rietveld 408576698