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

Unified Diff: chrome/third_party/mozilla_security_manager/nsNSSCertHelper.h

Issue 2804042: Incomplete changes to make scoped_ptr_malloc use plain functions. (Closed)
Patch Set: chrome now builds & links Created 10 years, 5 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/gpu/x_util.cc ('k') | gfx/gtk_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/third_party/mozilla_security_manager/nsNSSCertHelper.h
diff --git a/chrome/third_party/mozilla_security_manager/nsNSSCertHelper.h b/chrome/third_party/mozilla_security_manager/nsNSSCertHelper.h
index 271d88eae0d4c44af6517e877747853637d1c2ef..fc6c4e89156ceb7cf4e4834ff48f3a5a10584531 100644
--- a/chrome/third_party/mozilla_security_manager/nsNSSCertHelper.h
+++ b/chrome/third_party/mozilla_security_manager/nsNSSCertHelper.h
@@ -47,12 +47,9 @@
#include "base/scoped_ptr.h"
-class FreePRArenaPool {
- public:
- inline void operator()(PRArenaPool* x) const {
- PORT_FreeArena(x, PR_FALSE);
- }
-};
+inline void FreePRArenaPool(PRArenaPool* x) {
+ PORT_FreeArena(x, PR_FALSE);
+}
typedef scoped_ptr_malloc<PRArenaPool, FreePRArenaPool> ScopedPRArenaPool;
namespace mozilla_security_manager {
« no previous file with comments | « chrome/gpu/x_util.cc ('k') | gfx/gtk_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698