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

Unified Diff: util/win/scoped_local_alloc.h

Issue 1426533008: Make ScopedGeneric uses slightly more consistent (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Created 5 years, 1 month 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 | « util/win/process_info_test.cc ('k') | util/win/scoped_local_alloc.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/win/scoped_local_alloc.h
diff --git a/util/win/scoped_local_alloc.h b/util/win/scoped_local_alloc.h
index 26a59ed8d5fd13d0bb9d5e890587edf97c860ae2..b46078523ed473e46a06d4569f921ddddabe366e 100644
--- a/util/win/scoped_local_alloc.h
+++ b/util/win/scoped_local_alloc.h
@@ -21,12 +21,17 @@
namespace crashpad {
+namespace internal {
+
struct LocalAllocTraits {
static HLOCAL InvalidValue() { return nullptr; }
static void Free(HLOCAL mem);
};
-using ScopedLocalAlloc = base::ScopedGeneric<HLOCAL, LocalAllocTraits>;
+} // namespace internal
+
+using ScopedLocalAlloc =
+ base::ScopedGeneric<HLOCAL, internal::LocalAllocTraits>;
} // namespace crashpad
« no previous file with comments | « util/win/process_info_test.cc ('k') | util/win/scoped_local_alloc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698