Index: chrome_frame/test/chrome_frame_test_utils.cc |
diff --git a/chrome_frame/test/chrome_frame_test_utils.cc b/chrome_frame/test/chrome_frame_test_utils.cc |
index 80db1b3c4abb448880898b45cfec156637884313..c3c5d4c7605f866d51c2cf8699cb340e1f9cd1d8 100644 |
--- a/chrome_frame/test/chrome_frame_test_utils.cc |
+++ b/chrome_frame/test/chrome_frame_test_utils.cc |
@@ -532,6 +532,10 @@ std::wstring GetClipboardText() { |
return UTF16ToWide(text16); |
} |
+void DestroyClipboard() { |
+ ui::Clipboard::DestroyClipboardForCurrentThread(); |
+} |
+ |
void SetClipboardText(const std::wstring& text) { |
ui::ScopedClipboardWriter clipboard_writer( |
ui::Clipboard::GetForCurrentThread(), |