summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_about_handler.cc
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-26 20:24:48 +0000
committermark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-26 20:24:48 +0000
commited3456f80512a28e4e0d9b8e931a1813db33a880 (patch)
tree2fa1f5b14d4f3a10abc1796c00ea8d1ea26ee391 /chrome/browser/browser_about_handler.cc
parentb1d14feefc21f9412286b1ffcf20f18cdbb45007 (diff)
downloadchromium_src-ed3456f80512a28e4e0d9b8e931a1813db33a880.zip
chromium_src-ed3456f80512a28e4e0d9b8e931a1813db33a880.tar.gz
chromium_src-ed3456f80512a28e4e0d9b8e931a1813db33a880.tar.bz2
Back out r10487 too
Review URL: http://codereview.chromium.org/28209 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10506 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_about_handler.cc')
-rw-r--r--chrome/browser/browser_about_handler.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/browser_about_handler.cc b/chrome/browser/browser_about_handler.cc
index 0d83902..7f25a60 100644
--- a/chrome/browser/browser_about_handler.cc
+++ b/chrome/browser/browser_about_handler.cc
@@ -169,7 +169,7 @@ bool BrowserAboutHandler::MaybeHandle(GURL* url,
// about:blank is special. Frames are allowed to access about:blank,
// but they are not allowed to access other types of about pages.
// Just ignore the about:blank and let the TAB_CONTENTS_WEB handle it.
- if (LowerCaseEqualsASCII(url->spec(), chrome::kAboutBlankURL)) {
+ if (StringToLowerASCII(url->path()) == "blank") {
return false;
}
@@ -192,7 +192,7 @@ bool BrowserAboutHandler::MaybeHandle(GURL* url,
// Navigate the renderer to about:blank. This is kind of stupid but is the
// easiest thing to do in this situation without adding a lot of complexity
// for this developer-only feature.
- *url = GURL(chrome::kAboutBlankURL);
+ *url = GURL("about:blank");
return false;
}
@@ -205,7 +205,7 @@ bool BrowserAboutHandler::MaybeHandle(GURL* url,
NOTIMPLEMENTED();
// TODO(port) Implement this.
#endif
- *url = GURL(chrome::kAboutBlankURL);
+ *url = GURL("about:blank");
return false;
}
#endif