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

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: 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: 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 1c0a0546dd81ad89826ca4b4972ad0497e4409b6..5e7b9c3e4edc5044f5f53f73fbac267dd04359e3 100644
--- a/ash/drag_drop/drag_drop_controller_unittest.cc
+++ b/ash/drag_drop/drag_drop_controller_unittest.cc
@@ -401,7 +401,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(),

Powered by Google App Engine
This is Rietveld 408576698