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

Unified Diff: chrome/browser/bookmarks/bookmark_drag_data_unittest.cc

Issue 113321: Stubs out OSExchangeData for views on gtk. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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 | « chrome/browser/bookmarks/bookmark_drag_data.cc ('k') | chrome/chrome.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/bookmarks/bookmark_drag_data_unittest.cc
===================================================================
--- chrome/browser/bookmarks/bookmark_drag_data_unittest.cc (revision 15959)
+++ chrome/browser/bookmarks/bookmark_drag_data_unittest.cc (working copy)
@@ -22,7 +22,7 @@
TEST_F(BookmarkDragDataTest, BogusRead) {
scoped_refptr<OSExchangeData> data(new OSExchangeData());
BookmarkDragData drag_data;
- EXPECT_FALSE(drag_data.Read(data.get()));
+ EXPECT_FALSE(drag_data.Read(OSExchangeData(data.get())));
EXPECT_FALSE(drag_data.is_valid());
}
@@ -36,7 +36,7 @@
data->SetURL(url, title);
BookmarkDragData drag_data;
- EXPECT_TRUE(drag_data.Read(data.get()));
+ EXPECT_TRUE(drag_data.Read(OSExchangeData(data.get())));
EXPECT_TRUE(drag_data.is_valid());
ASSERT_EQ(1, drag_data.elements.size());
EXPECT_TRUE(drag_data.elements[0].is_url);
« no previous file with comments | « chrome/browser/bookmarks/bookmark_drag_data.cc ('k') | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698