Index: chrome_frame/test/ui_test.cc |
diff --git a/chrome_frame/test/ui_test.cc b/chrome_frame/test/ui_test.cc |
index 11b270aba98371851bca92feb8180fbd5ac92c1f..f44fec16d17070ce99594cb8b79381ec41ca1125 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) { |