Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(353)

Unified Diff: chrome_frame/test/ui_test.cc

Issue 18348025: ProcessSingleton now uses base::win::MessageWindow to create a message-only window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: chrome_frame_test::ContextMenuTest destroys the clipboard Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..dc036c46a92e663979f1f45c0b6d4cf21f0f097e 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() {
+ // Destory the clipboard here because it is not destroyed automatically.
Nico 2013/07/10 16:48:20 typo Destory
alexeypa (please no reviews) 2013/07/10 19:24:45 Done.
+ 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) {

Powered by Google App Engine
This is Rietveld 408576698