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

Unified Diff: base/lazy_instance.h

Issue 1997153002: libchrome: Several upstreamable fixes from libchrome Base URL: https://chromium.googlesource.com/a/chromium/src.git@master
Patch Set: Addressed feedback Created 4 years, 7 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: base/lazy_instance.h
diff --git a/base/lazy_instance.h b/base/lazy_instance.h
index fd0321017df8f8ba6643f1326db2db581fd05ed5..72befe45d5e1ca9b84c8bb8d19e7717e766101af 100644
--- a/base/lazy_instance.h
+++ b/base/lazy_instance.h
@@ -97,8 +97,7 @@ struct LeakyLazyInstanceTraits {
ANNOTATE_SCOPED_MEMORY_LEAK;
return DefaultLazyInstanceTraits<Type>::New(instance);
}
- static void Delete(Type* instance) {
- }
+ static void Delete(Type*) {}
};
// Our AtomicWord doubles as a spinlock, where a value of
« no previous file with comments | « base/files/file_util_posix.cc ('k') | base/logging.cc » ('j') | base/metrics/histogram.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698