| Index: ui/base/test/test_clipboard_unittest.cc
|
| diff --git a/ui/base/test/test_clipboard_unittest.cc b/ui/base/test/test_clipboard_unittest.cc
|
| index 8d3a4367428634669def78fcabeee8cd4d5ce4c7..f8e7eff25dde5f50d697a91a6b68c3786c87c634 100644
|
| --- a/ui/base/test/test_clipboard_unittest.cc
|
| +++ b/ui/base/test/test_clipboard_unittest.cc
|
| @@ -6,9 +6,19 @@
|
|
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| +#if defined(USE_AURA)
|
| +#include "ui/events/platform/platform_event_source.h"
|
| +#endif
|
| +
|
| namespace ui {
|
|
|
| struct TestClipboardTraits {
|
| +#if defined(USE_AURA)
|
| + static std::unique_ptr<PlatformEventSource> GetEventSource() {
|
| + return PlatformEventSource::CreateDefault();
|
| + }
|
| +#endif
|
| +
|
| static Clipboard* Create() { return TestClipboard::CreateForCurrentThread(); }
|
|
|
| static void Destroy(Clipboard* clipboard) {
|
|
|