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

Unified Diff: ash/drag_drop/drag_drop_controller_unittest.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: Un-add myself to AUTHORS. 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: ash/drag_drop/drag_drop_controller_unittest.cc
diff --git a/ash/drag_drop/drag_drop_controller_unittest.cc b/ash/drag_drop/drag_drop_controller_unittest.cc
index 659e992dc3a8a59bd59838aa37ca2edc03c44d7f..cda3c3d0d792e14e78cab0c4610def5f1152e9c6 100644
--- a/ash/drag_drop/drag_drop_controller_unittest.cc
+++ b/ash/drag_drop/drag_drop_controller_unittest.cc
@@ -405,7 +405,7 @@ TEST_F(DragDropControllerTest, DragCopiesDataToClipboardTest) {
ui::Clipboard* cb = views::ViewsDelegate::views_delegate->GetClipboard();
{
// We first clear the clipboard.
- ui::ScopedClipboardWriter scw(cb);
+ ui::ScopedClipboardWriter scw(cb, ui::Clipboard::BUFFER_STANDARD);
scw.WriteWebSmartPaste();
}
EXPECT_FALSE(cb->IsFormatAvailable(ui::Clipboard::GetPlainTextFormatType(),
« no previous file with comments | « no previous file | chrome/browser/bookmarks/bookmark_node_data.cc » ('j') | ui/base/clipboard/scoped_clipboard_writer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698