Index: chrome/browser/dom_ui/new_tab_ui.cc |
diff --git a/chrome/browser/dom_ui/new_tab_ui.cc b/chrome/browser/dom_ui/new_tab_ui.cc |
index a6621026a946daaeab375912be7b9a32f3450b7f..e1024715e677819fc40b171aa8e108a262e5d206 100644 |
--- a/chrome/browser/dom_ui/new_tab_ui.cc |
+++ b/chrome/browser/dom_ui/new_tab_ui.cc |
@@ -620,7 +620,9 @@ void NewTabUI::NewTabHTMLSource::StartDataRequest(const std::string& path, |
int request_id) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
- if (!path.empty() && path[0] != '#') { |
+ if (AppLauncherHandler::HandlePing(path)) { |
+ return; |
+ } else if (!path.empty() && path[0] != '#') { |
// A path under new-tab was requested; it's likely a bad relative |
// URL from the new tab page, but in any case it's an error. |
NOTREACHED(); |