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

Unified Diff: chrome/browser/password_manager/password_store_x_unittest.cc

Issue 7980014: Use DISABLE_RUNNABLE_METHOD_REFCOUNT macro in several places. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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/password_manager/native_backend_kwallet_x_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/password_manager/password_store_x_unittest.cc
===================================================================
--- chrome/browser/password_manager/password_store_x_unittest.cc (revision 101916)
+++ chrome/browser/password_manager/password_store_x_unittest.cc (working copy)
@@ -270,11 +270,7 @@
// LoginDatabase isn't reference counted, but in these unit tests that won't be
// a problem as it always outlives the threads we post tasks to.
-template<>
-struct RunnableMethodTraits<LoginDatabase> {
- void RetainCallee(LoginDatabase*) {}
- void ReleaseCallee(LoginDatabase*) {}
-};
+DISABLE_RUNNABLE_METHOD_REFCOUNT(LoginDatabase);
enum BackendType {
NO_BACKEND,
« no previous file with comments | « chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698