diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-02-22 23:30:31 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2020-02-22 23:30:31 -0500 |
commit | 2896724eaf851ee4b3d6f14eae05dcc626d88cdd (patch) | |
tree | 26eadf5f6c048489d98a3690952529cde77cfab6 /mfbt/TaggedAnonymousMemory.h | |
parent | dada39db2360486de3135d902aed4c351d6a76ad (diff) | |
download | UXP-2896724eaf851ee4b3d6f14eae05dcc626d88cdd.tar UXP-2896724eaf851ee4b3d6f14eae05dcc626d88cdd.tar.gz UXP-2896724eaf851ee4b3d6f14eae05dcc626d88cdd.tar.lz UXP-2896724eaf851ee4b3d6f14eae05dcc626d88cdd.tar.xz UXP-2896724eaf851ee4b3d6f14eae05dcc626d88cdd.zip |
Issue #1053 - Remove android support from mfbt
Diffstat (limited to 'mfbt/TaggedAnonymousMemory.h')
-rw-r--r-- | mfbt/TaggedAnonymousMemory.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/mfbt/TaggedAnonymousMemory.h b/mfbt/TaggedAnonymousMemory.h index d26b06dfb..545928471 100644 --- a/mfbt/TaggedAnonymousMemory.h +++ b/mfbt/TaggedAnonymousMemory.h @@ -39,28 +39,6 @@ #include "mozilla/Types.h" -#ifdef ANDROID - -#ifdef __cplusplus -extern "C" { -#endif - -MFBT_API void -MozTagAnonymousMemory(const void* aPtr, size_t aLength, const char* aTag); - -MFBT_API void* -MozTaggedAnonymousMmap(void* aAddr, size_t aLength, int aProt, int aFlags, - int aFd, off_t aOffset, const char* aTag); - -MFBT_API int -MozTaggedMemoryIsSupported(void); - -#ifdef __cplusplus -} // extern "C" -#endif - -#else // ANDROID - static inline void MozTagAnonymousMemory(const void* aPtr, size_t aLength, const char* aTag) { @@ -79,8 +57,6 @@ MozTaggedMemoryIsSupported(void) return 0; } -#endif // ANDROID - #endif // !XP_WIN #endif // mozilla_TaggedAnonymousMemory_h |