Index: ui/base/dragdrop/os_exchange_data_unittest.cc |
diff --git a/ui/base/dragdrop/os_exchange_data_unittest.cc b/ui/base/dragdrop/os_exchange_data_unittest.cc |
index f1e3153ba6d5128a6c676b3b9b47c7e55bbea9df..8c5e75d78c8fec1e4a687d1e0f52d7a64d4124da 100644 |
--- a/ui/base/dragdrop/os_exchange_data_unittest.cc |
+++ b/ui/base/dragdrop/os_exchange_data_unittest.cc |
@@ -8,13 +8,19 @@ |
#include "testing/gtest/include/gtest/gtest.h" |
#include "testing/platform_test.h" |
#include "ui/base/dragdrop/os_exchange_data.h" |
+#include "ui/events/platform/platform_event_source.h" |
#include "url/gurl.h" |
namespace ui { |
class OSExchangeDataTest : public PlatformTest { |
+ public: |
+ OSExchangeDataTest() |
+ : event_source_(ui::PlatformEventSource::CreateDefault()) {} |
+ |
private: |
base::MessageLoopForUI message_loop_; |
+ scoped_ptr<PlatformEventSource> event_source_; |
}; |
TEST_F(OSExchangeDataTest, StringDataGetAndSet) { |