[webkit-reviews] review canceled: [Bug 85063] Add low memory check in ExecutableAllocator::underMemoryPressure() : [Attachment 139247] Fixed error caused by adding WTF namespace.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 27 17:47:15 PDT 2012


Antonio Gomes <tonikitoo at webkit.org> has canceled Lyon Chen <liachen at rim.com>'s
request for review:
Bug 85063: Add low memory check in ExecutableAllocator::underMemoryPressure()
https://bugs.webkit.org/show_bug.cgi?id=85063

Attachment 139247: Fixed error caused by adding WTF namespace.
https://bugs.webkit.org/attachment.cgi?id=139247&action=review

------- Additional Comments from Antonio Gomes <tonikitoo at webkit.org>
View in context: https://bugs.webkit.org/attachment.cgi?id=139247&action=review


> Source/WTF/wtf/SystemMemoryStatus.h:45
> +#if PLATFORM(BLACKBERRY)
> +
> +inline bool isSystemMemoryLow() { return
BlackBerry::Platform::isMemoryLow(); }
> +
> +#else
> +
> +inline bool isSystemMemoryLow() { return false; }
> +
> +#endif

lets do like this

inline bool isSystemMemoryLow()
{
#if PLATFORM(BLACKBERRY)
    return BlackBerry::Platform::isMemoryLow();
#else
    return false;
#endif
}


More information about the webkit-reviews mailing list