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

Unified Diff: chrome/browser/unload_browsertest.cc

Issue 17571018: Reland fast tab closure behind a flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Diff against original patch 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/unload_browsertest.cc
diff --git a/chrome/browser/unload_browsertest.cc b/chrome/browser/unload_browsertest.cc
index 8e50734492789d6a63a5be283f6efb0ac6174d64..b39cb8ee1c896b9c1a83eb3b739fb0b4def82945 100644
--- a/chrome/browser/unload_browsertest.cc
+++ b/chrome/browser/unload_browsertest.cc
@@ -413,6 +413,11 @@ IN_PROC_BROWSER_TEST_F(UnloadTest, BrowserCloseTabWhenOtherTabHasListener) {
class FastUnloadTest : public UnloadTest {
public:
+ virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE {
+ UnloadTest::SetUpCommandLine(command_line);
+ command_line->AppendSwitch(switches::kEnableFastUnload);
+ }
+
virtual void SetUpInProcessBrowserTestFixture() OVERRIDE {
ASSERT_TRUE(test_server()->Start());
}

Powered by Google App Engine
This is Rietveld 408576698