summaryrefslogtreecommitdiffstats
path: root/chrome_frame/test/ui_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame/test/ui_test.cc')
-rw-r--r--chrome_frame/test/ui_test.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome_frame/test/ui_test.cc b/chrome_frame/test/ui_test.cc
index 11b270a..f44fec1 100644
--- a/chrome_frame/test/ui_test.cc
+++ b/chrome_frame/test/ui_test.cc
@@ -470,6 +470,11 @@ class ContextMenuTest : public MockIEEventSinkTest, public testing::Test {
EXPECT_CALL(acc_observer_, OnAccDocLoad(_)).Times(testing::AnyNumber());
}
+ virtual void TearDown() {
+ // Destroy the clipboard here because it is not destroyed automatically.
+ DestroyClipboard();
+ }
+
// Common helper function for "Save xxx As" tests.
void DoSaveAsTest(const wchar_t* role, const wchar_t* menu_item_name,
const wchar_t* file_ext) {