Index: content/common/clipboard_messages.h |
diff --git a/content/common/clipboard_messages.h b/content/common/clipboard_messages.h |
index 5874de6aa2562a8143ecc4f74314ce6eb2078f7e..8e417c071f6f7be55d5e1d61b196ee1c396c1fa1 100644 |
--- a/content/common/clipboard_messages.h |
+++ b/content/common/clipboard_messages.h |
@@ -83,9 +83,13 @@ IPC_MESSAGE_CONTROL1(ClipboardHostMsg_WriteSmartPasteMarker, |
IPC_MESSAGE_CONTROL2(ClipboardHostMsg_WriteCustomData, |
ui::ClipboardType /* type */, |
CustomDataMap /* custom data */) |
+// TODO(dcheng): The |url| parameter should really be a GURL, but <canvas>'s |
+// copy as image tries to set very long data: URLs on the clipboard. Using |
+// GURL causes the browser to kill the renderer for sending a bad IPC (GURLs |
+// bigger than 2 megabytes are considered to be bad). https://crbug.com/459822 |
IPC_MESSAGE_CONTROL3(ClipboardHostMsg_WriteBookmark, |
ui::ClipboardType /* type */, |
- GURL /* url */, |
+ std::string /* url */, |
base::string16 /* title */) |
IPC_SYNC_MESSAGE_CONTROL3_0(ClipboardHostMsg_WriteImage, |
ui::ClipboardType /* type */, |