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

Unified Diff: base/task.h

Issue 9008061: Re-remove ReleasePointer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 12 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/task.h
diff --git a/base/task.h b/base/task.h
index 571f2748c7014da534d82432b8d18e2067497730..a310e0d4f0d53fce9f0ad8587fa634982b42af90 100644
--- a/base/task.h
+++ b/base/task.h
@@ -61,11 +61,6 @@ void DeletePointer(T* obj) {
delete obj;
}
-template<typename T>
-void ReleasePointer(T* obj) {
- obj->Release();
-}
-
namespace base {
// ScopedClosureRunner is akin to scoped_ptr for Closures. It ensures that the
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698