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

Unified Diff: webkit/glue/scoped_clipboard_writer_glue.cc

Issue 9232075: Have ScopedClipboardWriter and Clipboard::WriteObjects take a buffer parameter. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fix build error. Created 8 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 | « ui/views/controls/textfield/textfield_views_model_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/scoped_clipboard_writer_glue.cc
diff --git a/webkit/glue/scoped_clipboard_writer_glue.cc b/webkit/glue/scoped_clipboard_writer_glue.cc
index d42aeda03e5c8208314323359b7a0de1640aa76b..e5ac21189fe2706663a400dce46118e9fcb8dc85 100644
--- a/webkit/glue/scoped_clipboard_writer_glue.cc
+++ b/webkit/glue/scoped_clipboard_writer_glue.cc
@@ -7,7 +7,8 @@
ScopedClipboardWriterGlue::ScopedClipboardWriterGlue(
webkit_glue::ClipboardClient* client)
- : ui::ScopedClipboardWriter(client->GetClipboard()),
+ : ui::ScopedClipboardWriter(client->GetClipboard(),
+ ui::Clipboard::BUFFER_STANDARD),
context_(client->CreateWriteContext()) {
// We should never have an instance where both are set.
DCHECK((clipboard_ && !context_) ||
« no previous file with comments | « ui/views/controls/textfield/textfield_views_model_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698