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

Unified Diff: content/browser/renderer_host/clipboard_message_filter.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/browser/renderer_host/clipboard_message_filter.h ('k') | content/common/clipboard_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/clipboard_message_filter.cc
diff --git a/content/browser/renderer_host/clipboard_message_filter.cc b/content/browser/renderer_host/clipboard_message_filter.cc
index a297b0a1d2f4aed3b9c97af9cc810933a178c4d9..5cb0d9c83eec74145bc9698a2e197ccc0746eb0b 100644
--- a/content/browser/renderer_host/clipboard_message_filter.cc
+++ b/content/browser/renderer_host/clipboard_message_filter.cc
@@ -236,9 +236,9 @@ void ClipboardMessageFilter::OnWriteCustomData(
}
void ClipboardMessageFilter::OnWriteBookmark(ui::ClipboardType clipboard_type,
- const GURL& url,
+ const std::string& url,
const base::string16& title) {
- clipboard_writer_->WriteBookmark(title, url.spec());
+ clipboard_writer_->WriteBookmark(title, url);
}
void ClipboardMessageFilter::OnWriteImage(ui::ClipboardType clipboard_type,
« no previous file with comments | « content/browser/renderer_host/clipboard_message_filter.h ('k') | content/common/clipboard_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698