Index: ui/views/test/test_views_delegate.cc |
diff --git a/ui/views/test/test_views_delegate.cc b/ui/views/test/test_views_delegate.cc |
index 2ae2aa44ff1276f0ceed099a5a033b5d0c554d62..e87f18da243edcccd9c700cd4d592631723df2b6 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, |