[Webkit-unassigned] [Bug 85063] Add low memory check in ExecutableAllocator::underMemoryPressure()

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


https://bugs.webkit.org/show_bug.cgi?id=85063


Antonio Gomes <tonikitoo at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #139247|review?                     |
               Flag|                            |




--- Comment #15 from Antonio Gomes <tonikitoo at webkit.org>  2012-04-27 17:47:15 PST ---
(From update of attachment 139247)
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
}

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list