Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(506)

Unified Diff: chrome/browser/dom_ui/chrome_url_data_manager.cc

Issue 579004: Pull latest googleurl to get various fixes (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/child_process_security_policy.cc ('k') | chrome/browser/extensions/extension_popup_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/dom_ui/chrome_url_data_manager.cc
===================================================================
--- chrome/browser/dom_ui/chrome_url_data_manager.cc (revision 40415)
+++ chrome/browser/dom_ui/chrome_url_data_manager.cc (working copy)
@@ -94,11 +94,8 @@
// Being a standard scheme allows us to resolve relative paths. This method
// is invoked multiple times during testing, so only add the scheme once.
url_parse::Component url_scheme_component(0, strlen(chrome::kChromeUIScheme));
- if (!url_util::IsStandard(chrome::kChromeUIScheme,
- strlen(chrome::kChromeUIScheme),
- url_scheme_component)) {
+ if (!url_util::IsStandard(chrome::kChromeUIScheme, url_scheme_component))
url_util::AddStandardScheme(chrome::kChromeUIScheme);
- }
FilePath inspector_dir;
if (PathService::Get(chrome::DIR_INSPECTOR, &inspector_dir)) {
« no previous file with comments | « chrome/browser/child_process_security_policy.cc ('k') | chrome/browser/extensions/extension_popup_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698