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

Unified Diff: third_party/minicrt/newdel.cc

Issue 624713003: Keep only base/extractor.[cc|h]. (Closed) Base URL: https://chromium.googlesource.com/external/omaha.git@master
Patch Set: 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 | « third_party/minicrt/misc.cc ('k') | third_party/minicrt/pesect.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/minicrt/newdel.cc
diff --git a/third_party/minicrt/newdel.cc b/third_party/minicrt/newdel.cc
deleted file mode 100644
index cfcfd2e132b3bd43c647421a603618a5baa93c96..0000000000000000000000000000000000000000
--- a/third_party/minicrt/newdel.cc
+++ /dev/null
@@ -1,23 +0,0 @@
-//==========================================
-// LIBCTINY - Matt Pietrek 2001
-// MSDN Magazine, January 2001
-//==========================================
-#include "libctiny.h"
-#include <windows.h>
-
-void * __cdecl operator new(unsigned int s) {
- return HeapAlloc( GetProcessHeap(), 0, s );
-}
-
-void __cdecl operator delete(void* p) {
- if (p)
- HeapFree( GetProcessHeap(), 0, p );
-}
-
-void* __cdecl operator new[](size_t n) {
- return operator new(n);
-}
-
-void __cdecl operator delete[](void* p) {
- operator delete(p);
-}
« no previous file with comments | « third_party/minicrt/misc.cc ('k') | third_party/minicrt/pesect.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698