diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-13 23:21:45 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-13 23:21:45 +0000 |
commit | 321792ef1baac764227d55fc944f32cf29e50c6a (patch) | |
tree | 58acd23f1f5d4fc2e33e07e188210d2836fc84f2 /chrome/browser/bookmarks/bookmark_drag_data_unittest.cc | |
parent | 4343dfbb634893311ae654e412d704831c8ba5ac (diff) | |
download | chromium_src-321792ef1baac764227d55fc944f32cf29e50c6a.zip chromium_src-321792ef1baac764227d55fc944f32cf29e50c6a.tar.gz chromium_src-321792ef1baac764227d55fc944f32cf29e50c6a.tar.bz2 |
Stubs out OSExchangeData for views on gtk.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/113321
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16012 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/bookmarks/bookmark_drag_data_unittest.cc')
-rw-r--r-- | chrome/browser/bookmarks/bookmark_drag_data_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/bookmarks/bookmark_drag_data_unittest.cc b/chrome/browser/bookmarks/bookmark_drag_data_unittest.cc index 1d1e1f2..9507196 100644 --- a/chrome/browser/bookmarks/bookmark_drag_data_unittest.cc +++ b/chrome/browser/bookmarks/bookmark_drag_data_unittest.cc @@ -22,7 +22,7 @@ TEST_F(BookmarkDragDataTest, InitialState) { 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 @@ TEST_F(BookmarkDragDataTest, JustURL) { 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); |