Chromium Code Reviews| Index: chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm |
| =================================================================== |
| --- chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm (revision 84514) |
| +++ chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm (working copy) |
| @@ -935,6 +935,8 @@ |
| if (text.empty()) { |
| return; |
| } |
| + |
| + StripJavascriptSchema(text, &text); |
|
Peter Kasting
2011/05/10 23:27:42
Do this in GetClipboardText(), not here.
Cris Neckar
2011/05/11 21:42:36
Done.
|
| NSString* s = base::SysUTF16ToNSString(text); |
| // -shouldChangeTextInRange:* and -didChangeText are documented in |