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

Unified Diff: Source/WTF/wtf/AutodrainedPool.h

Issue 14097005: Restore AutodrainedPoolMac.mm, use it in blink/mac. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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 | « Source/WTF/WTF.gyp/WTF.gyp ('k') | Source/WTF/wtf/AutodrainedPoolMac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WTF/wtf/AutodrainedPool.h
diff --git a/Source/WTF/wtf/AutodrainedPool.h b/Source/WTF/wtf/AutodrainedPool.h
index 866714dffa793bab5fa3de4b9b6dd8858ef9a9e4..078a71bea7edfcc74257df737883e3c2667eafa8 100644
--- a/Source/WTF/wtf/AutodrainedPool.h
+++ b/Source/WTF/wtf/AutodrainedPool.h
@@ -44,14 +44,14 @@ public:
WTF_EXPORT_PRIVATE void cycle();
private:
-#if PLATFORM(MAC)
+#if OS(DARWIN)
int m_iterationLimit;
int m_iterationCount;
NSAutoreleasePool* m_pool;
#endif
};
-#if !PLATFORM(MAC)
+#if !OS(DARWIN)
inline AutodrainedPool::AutodrainedPool(int) { }
inline AutodrainedPool::~AutodrainedPool() { }
inline void AutodrainedPool::cycle() { }
« no previous file with comments | « Source/WTF/WTF.gyp/WTF.gyp ('k') | Source/WTF/wtf/AutodrainedPoolMac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698