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

Unified Diff: chrome/browser/ui/omnibox/omnibox_view.cc

Issue 23283007: Move kJavaScriptScheme into content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: content:: is necessary in web_drag_source_mac.mm Created 7 years, 4 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
Index: chrome/browser/ui/omnibox/omnibox_view.cc
diff --git a/chrome/browser/ui/omnibox/omnibox_view.cc b/chrome/browser/ui/omnibox/omnibox_view.cc
index 9d8f50fbdc1ce88a201173a957c56abd637ad3fc..4ef5518b0ccabef4e844b0bda4c61c4246f8c668 100644
--- a/chrome/browser/ui/omnibox/omnibox_view.cc
+++ b/chrome/browser/ui/omnibox/omnibox_view.cc
@@ -15,7 +15,7 @@
// static
string16 OmniboxView::StripJavascriptSchemas(const string16& text) {
- const string16 kJsPrefix(ASCIIToUTF16(chrome::kJavaScriptScheme) +
+ const string16 kJsPrefix(ASCIIToUTF16(content::kJavaScriptScheme) +
ASCIIToUTF16(":"));
string16 out(text);
while (StartsWith(out, kJsPrefix, false))

Powered by Google App Engine
This is Rietveld 408576698