diff options
author | jrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-19 16:41:24 +0000 |
---|---|---|
committer | jrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-19 16:41:24 +0000 |
commit | 975c326e7dbd036a0bf6ac0ceaaf8cc25ab8729f (patch) | |
tree | 771c46604ebf5396fce5da3a8ceb4dd8bc73d0ad | |
parent | 579d99433fe11df0377792cc747a7794c8b02a0b (diff) | |
download | chromium_src-975c326e7dbd036a0bf6ac0ceaaf8cc25ab8729f.zip chromium_src-975c326e7dbd036a0bf6ac0ceaaf8cc25ab8729f.tar.gz chromium_src-975c326e7dbd036a0bf6ac0ceaaf8cc25ab8729f.tar.bz2 |
Paste of URL into PowerPoint2008 fails.
BUG=http://crbug.com/41842
TEST=Copy entire string from Omnibox and paste into PowerPoint2008 document.
Review URL: http://codereview.chromium.org/1671001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44916 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/autocomplete/autocomplete_edit_view_mac.mm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_edit_view_mac.mm b/chrome/browser/autocomplete/autocomplete_edit_view_mac.mm index 6f0bfb3..70239ab 100644 --- a/chrome/browser/autocomplete/autocomplete_edit_view_mac.mm +++ b/chrome/browser/autocomplete/autocomplete_edit_view_mac.mm @@ -760,7 +760,11 @@ void AutocompleteEditViewMac::OnCopy() { else scw.WriteText(text16); scw.WriteBookmark(text16, url.spec()); - scw.WriteHyperlink(EscapeForHTML(WideToUTF8(text)), url.spec()); + + // This line, cargo cult copied from the Windows and GTK + // versions (perhaps), breaks paste of an URL into Powerpoint + // 2008. http://crbug.com/41842 + // scw.WriteHyperlink(EscapeForHTML(WideToUTF8(text)), url.spec()); return; } } |