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

Unified Diff: chrome/browser/ui/views/bookmarks/bookmark_context_menu_test.cc

Issue 10917196: Fix memory leak in BookmarkUtilsTest.CopyPaste. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Now with three other cases. Created 8 years, 3 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
« no previous file with comments | « chrome/browser/ui/omnibox/omnibox_view_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/bookmarks/bookmark_context_menu_test.cc
diff --git a/chrome/browser/ui/views/bookmarks/bookmark_context_menu_test.cc b/chrome/browser/ui/views/bookmarks/bookmark_context_menu_test.cc
index 7e419c342fe63834d56363b5e8a9dfff989d927e..6dc87f8391b1fdef4618650f7dbc4ca903ddf4a0 100644
--- a/chrome/browser/ui/views/bookmarks/bookmark_context_menu_test.cc
+++ b/chrome/browser/ui/views/bookmarks/bookmark_context_menu_test.cc
@@ -18,6 +18,7 @@
#include "content/public/browser/page_navigator.h"
#include "content/public/test/test_browser_thread.h"
#include "grit/generated_resources.h"
+#include "ui/base/clipboard/clipboard.h"
#include "testing/gtest/include/gtest/gtest.h"
#if defined(OS_WIN)
@@ -71,6 +72,8 @@ class BookmarkContextMenuTest : public testing::Test {
bookmark_utils::DisableBookmarkBarViewAnimationsForTesting(false);
#endif
+ ui::Clipboard::DestroyClipboardForCurrentThread();
+
// Flush the message loop to make application verifiers happy.
message_loop_.RunAllPending();
}
« no previous file with comments | « chrome/browser/ui/omnibox/omnibox_view_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698