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

Unified Diff: chrome_frame/test/chrome_frame_test_utils.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
Index: chrome_frame/test/chrome_frame_test_utils.cc
diff --git a/chrome_frame/test/chrome_frame_test_utils.cc b/chrome_frame/test/chrome_frame_test_utils.cc
index 31d3e1985659c17bb8bb475ced07111c32a4a55e..3ce58246372310a5ed59f4a08d14d047c9e5f77b 100644
--- a/chrome_frame/test/chrome_frame_test_utils.cc
+++ b/chrome_frame/test/chrome_frame_test_utils.cc
@@ -499,7 +499,8 @@ std::wstring GetClipboardText() {
void SetClipboardText(const std::wstring& text) {
ui::Clipboard clipboard;
{
- ui::ScopedClipboardWriter clipboard_writer(&clipboard);
+ ui::ScopedClipboardWriter clipboard_writer(&clipboard,
+ ui::Clipboard::BUFFER_STANDARD);
clipboard_writer.WriteText(WideToUTF16(text));
}
}
« no previous file with comments | « chrome/browser/ui/views/omnibox/omnibox_view_win.cc ('k') | content/browser/renderer_host/clipboard_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698