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

Unified Diff: base/process/memory.h

Issue 220273002: Use cross-platform base::UncheckedMalloc for skia (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix ios build Created 6 years, 9 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 | skia/ext/SkMemory_new_handler.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/process/memory.h
diff --git a/base/process/memory.h b/base/process/memory.h
index a73fbe1304834efd77b1b63c84a74007ffed91ee..100d9c72f43910c0c351e84c252169f3e3be6052 100644
--- a/base/process/memory.h
+++ b/base/process/memory.h
@@ -77,12 +77,6 @@ BASE_EXPORT WARN_UNUSED_RESULT bool UncheckedCalloc(size_t num_items,
size_t size,
void** result);
-// TODO(b.kelemen): make Skia use the new interface and remove these.
-#if defined(OS_MACOSX)
-BASE_EXPORT void* UncheckedMalloc(size_t size);
-BASE_EXPORT void* UncheckedCalloc(size_t num_items, size_t size);
-#endif
-
} // namespace base
#endif // BASE_PROCESS_MEMORY_H_
« no previous file with comments | « no previous file | skia/ext/SkMemory_new_handler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698