| Index: chrome/browser/browser_about_handler.cc
|
| ===================================================================
|
| --- chrome/browser/browser_about_handler.cc (revision 10437)
|
| +++ chrome/browser/browser_about_handler.cc (working copy)
|
| @@ -162,7 +162,7 @@
|
| // 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 (StringToLowerASCII(url->path()) == "blank") {
|
| + if (LowerCaseEqualsASCII(url->spec(), chrome::kAboutBlankURL)) {
|
| return false;
|
| }
|
|
|
| @@ -185,7 +185,7 @@
|
| // 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("about:blank");
|
| + *url = GURL(chrome::kAboutBlankURL);
|
| return false;
|
| }
|
|
|
| @@ -198,7 +198,7 @@
|
| NOTIMPLEMENTED();
|
| // TODO(port) Implement this.
|
| #endif
|
| - *url = GURL("about:blank");
|
| + *url = GURL(chrome::kAboutBlankURL);
|
| return false;
|
| }
|
| #endif
|
|
|