diff options
Diffstat (limited to 'ui/views/test/test_views_delegate.cc')
-rw-r--r-- | ui/views/test/test_views_delegate.cc | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/ui/views/test/test_views_delegate.cc b/ui/views/test/test_views_delegate.cc index 2ae2aa4..e87f18d 100644 --- a/ui/views/test/test_views_delegate.cc +++ b/ui/views/test/test_views_delegate.cc @@ -6,7 +6,6 @@ #include "base/logging.h" #include "content/public/test/web_contents_tester.h" -#include "ui/base/clipboard/clipboard.h" namespace views { @@ -24,14 +23,6 @@ void TestViewsDelegate::SetUseTransparentWindows(bool transparent) { use_transparent_windows_ = transparent; } -ui::Clipboard* TestViewsDelegate::GetClipboard() const { - if (!clipboard_.get()) { - // Note that we need a MessageLoop for the next call to work. - clipboard_.reset(new ui::Clipboard); - } - return clipboard_.get(); -} - void TestViewsDelegate::SaveWindowPlacement(const Widget* window, const std::string& window_name, const gfx::Rect& bounds, |