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

Unified Diff: chrome/browser/password_manager/native_backend_gnome_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_gnome_x_unittest.cc
===================================================================
--- chrome/browser/password_manager/native_backend_gnome_x_unittest.cc (revision 101916)
+++ chrome/browser/password_manager/native_backend_gnome_x_unittest.cc (working copy)
@@ -275,11 +275,7 @@
// NativeBackendGnome 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<NativeBackendGnome> {
- void RetainCallee(NativeBackendGnome*) {}
- void ReleaseCallee(NativeBackendGnome*) {}
-};
+DISABLE_RUNNABLE_METHOD_REFCOUNT(NativeBackendGnome);
class NativeBackendGnomeTest : public testing::Test {
protected:

Powered by Google App Engine
This is Rietveld 408576698