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

Unified Diff: chrome/browser/password_manager/native_backend_kwallet_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
Index: chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc
===================================================================
--- chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc (revision 101916)
+++ chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc (working copy)
@@ -490,11 +490,7 @@
// NativeBackendKWallet 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<NativeBackendKWalletStub> {
- void RetainCallee(NativeBackendKWalletStub*) {}
- void ReleaseCallee(NativeBackendKWalletStub*) {}
-};
+DISABLE_RUNNABLE_METHOD_REFCOUNT(NativeBackendKWalletStub);
TEST_F(NativeBackendKWalletTest, BasicAddLogin) {
// Pretend that the migration has already taken place.

Powered by Google App Engine
This is Rietveld 408576698