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

Unified Diff: src/allocation.h

Issue 2356713002: Version 5.5.228.1 (cherry-pick) (Closed)
Patch Set: Created 4 years, 3 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 | « include/v8-version.h ('k') | src/basic-block-profiler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/allocation.h
diff --git a/src/allocation.h b/src/allocation.h
index a92b71f08ef8a1967c0cd54777cebf961e4235c0..8581cc9e9d75679aaaa78e43eecba859aa5eaf86 100644
--- a/src/allocation.h
+++ b/src/allocation.h
@@ -13,10 +13,10 @@ namespace internal {
// Called when allocation routines fail to allocate.
// This function should not return, but should terminate the current
// processing.
-V8_EXPORT_PRIVATE void FatalProcessOutOfMemory(const char* message);
+void FatalProcessOutOfMemory(const char* message);
// Superclass for classes managed with new & delete.
-class V8_EXPORT_PRIVATE Malloced {
+class Malloced {
public:
void* operator new(size_t size) { return New(size); }
void operator delete(void* p) { Delete(p); }
@@ -72,7 +72,7 @@ void DeleteArray(T* array) {
// The normal strdup functions use malloc. These versions of StrDup
// and StrNDup uses new and calls the FatalProcessOutOfMemory handler
// if allocation fails.
-V8_EXPORT_PRIVATE char* StrDup(const char* str);
+char* StrDup(const char* str);
char* StrNDup(const char* str, int n);
« no previous file with comments | « include/v8-version.h ('k') | src/basic-block-profiler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698