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

Unified Diff: chrome/browser/password_manager/native_backend_gnome_x.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 | « no previous file | chrome/browser/password_manager/native_backend_gnome_x_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/password_manager/native_backend_gnome_x.cc
===================================================================
--- chrome/browser/password_manager/native_backend_gnome_x.cc (revision 101916)
+++ chrome/browser/password_manager/native_backend_gnome_x.cc (working copy)
@@ -415,11 +415,7 @@
// GKRMethod isn't reference counted, but it always outlasts runnable
// methods against it because the caller waits for those methods to run.
-template<>
-struct RunnableMethodTraits<GKRMethod> {
- void RetainCallee(GKRMethod*) {}
- void ReleaseCallee(GKRMethod*) {}
-};
+DISABLE_RUNNABLE_METHOD_REFCOUNT(GKRMethod);
NativeBackendGnome::NativeBackendGnome(LocalProfileId id, PrefService* prefs)
: profile_id_(id), prefs_(prefs) {
« no previous file with comments | « no previous file | chrome/browser/password_manager/native_backend_gnome_x_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698