Index: chrome/browser/crash_recovery_uitest.cc |
=================================================================== |
--- chrome/browser/crash_recovery_uitest.cc (revision 10412) |
+++ chrome/browser/crash_recovery_uitest.cc (working copy) |
@@ -3,6 +3,7 @@ |
// found in the LICENSE file. |
#include "base/file_util.h" |
+#include "chrome/common/url_constants.h" |
#include "chrome/test/automation/browser_proxy.h" |
#include "chrome/test/automation/tab_proxy.h" |
#include "chrome/test/ui/ui_test.h" |
@@ -30,7 +31,7 @@ |
// Cause the renderer to crash. |
expected_crashes_ = 1; |
- tab->NavigateToURLAsync(GURL("about:crash")); |
+ tab->NavigateToURLAsync(GURL(chrome::kAboutCrashURL)); |
Sleep(1000); // Wait for the browser to notice the renderer crash. |
@@ -63,7 +64,7 @@ |
// Cause the renderer to crash. |
expected_crashes_ = 1; |
- tab->NavigateToURLAsync(GURL("about:crash")); |
+ tab->NavigateToURLAsync(GURL(chrome::kAboutCrashURL)); |
Sleep(1000); // Wait for the browser to notice the renderer crash. |