Index: chrome/browser/history/history.cc |
=================================================================== |
--- chrome/browser/history/history.cc (revision 10412) |
+++ chrome/browser/history/history.cc (working copy) |
@@ -578,8 +578,7 @@ |
return false; |
if (url.SchemeIs(chrome::kAboutScheme)) { |
- std::string path = url.path(); |
- if (path.empty() || LowerCaseEqualsASCII(path, "blank")) |
+ if (LowerCaseEqualsASCII(url.spec(), chrome::kAboutBlankURL)) |
return false; |
// We allow all other about URLs since the user may like to see things |
// like "about:memory" or "about:histograms" in their history and |