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

Unified Diff: content/renderer/renderer_clipboard_delegate.cc

Issue 934373002: Marshal the URL parameter of the clipboard bookmark format as a string. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add TODO Created 5 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 | « content/common/clipboard_messages.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/renderer_clipboard_delegate.cc
diff --git a/content/renderer/renderer_clipboard_delegate.cc b/content/renderer/renderer_clipboard_delegate.cc
index 0ed03f643bacf7c1b0b7a52aea2df5743e4340e9..e1285d2c07b28b377ac969666bfa07c933cf1b38 100644
--- a/content/renderer/renderer_clipboard_delegate.cc
+++ b/content/renderer/renderer_clipboard_delegate.cc
@@ -118,7 +118,7 @@ void RendererClipboardDelegate::WriteBookmark(ui::ClipboardType clipboard_type,
const GURL& url,
const base::string16& title) {
RenderThreadImpl::current()->Send(
- new ClipboardHostMsg_WriteBookmark(clipboard_type, url, title));
+ new ClipboardHostMsg_WriteBookmark(clipboard_type, url.spec(), title));
}
bool RendererClipboardDelegate::WriteImage(ui::ClipboardType clipboard_type,
« no previous file with comments | « content/common/clipboard_messages.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698