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

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, 11 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 3324a0d64747cf17c487e5f679d2edc7564b2061..461be205e223f53d829f5f75debdda790fa838f5 100644
--- a/chrome_frame/test/chrome_frame_test_utils.cc
+++ b/chrome_frame/test/chrome_frame_test_utils.cc
@@ -493,7 +493,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));
}
}

Powered by Google App Engine
This is Rietveld 408576698