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

Unified Diff: cc/resources/scoped_resource.cc

Issue 652583002: remove unused Leak() function (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed test code Created 6 years, 2 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 | « cc/resources/scoped_resource.h ('k') | cc/resources/scoped_resource_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/scoped_resource.cc
diff --git a/cc/resources/scoped_resource.cc b/cc/resources/scoped_resource.cc
index 407de5105c8bfa1f088011c6017bc587e7545287..c83efb59fd9a78f13c1ba2c75d27f830850799ad 100644
--- a/cc/resources/scoped_resource.cc
+++ b/cc/resources/scoped_resource.cc
@@ -59,8 +59,4 @@ void ScopedResource::Free() {
set_id(0);
}
-void ScopedResource::Leak() {
- set_id(0);
-}
-
} // namespace cc
« no previous file with comments | « cc/resources/scoped_resource.h ('k') | cc/resources/scoped_resource_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698