[Webkit-unassigned] [Bug 191380] [WTF] Changes in bug 188867 break non-Linux Unix builds

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 7 13:53:10 PST 2018


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

--- Comment #6 from Jim Mason <jmason at ibinx.com> ---
In WTF/wtf/PlatformGTK.cmake, MemoryFootprintLinux.cpp is included.

Without the attached patch, the Solaris build yields the following errors:

/build/rtutils/components/desktop/webkitgtk4-dev/webkit/Source/WTF/wtf/linux/MemoryPressureHandlerLinux.cpp:55:71: error: no 'void WTF::MemoryPressureHandler::triggerMemoryPressureEvent(bool)' member function declared in class 'WTF::MemoryPressureHandler'
 void MemoryPressureHandler::triggerMemoryPressureEvent(bool isCritical)
                                                                       ^
/build/rtutils/components/desktop/webkitgtk4-dev/webkit/Source/WTF/wtf/linux/MemoryPressureHandlerLinux.cpp: In member function 'void WTF::MemoryPressureHandler::install()':
/build/rtutils/components/desktop/webkitgtk4-dev/webkit/Source/WTF/wtf/linux/MemoryPressureHandlerLinux.cpp:80:24: error: 'm_holdOffTimer' was not declared in this scope
     if (m_installed || m_holdOffTimer.isActive())
                        ^~~~~~~~~~~~~~
/build/rtutils/components/desktop/webkitgtk4-dev/webkit/Source/WTF/wtf/linux/MemoryPressureHandlerLinux.cpp:80:24: note: suggested alternative: 'holdOff'
     if (m_installed || m_holdOffTimer.isActive())
                        ^~~~~~~~~~~~~~
                        holdOff
/build/rtutils/components/desktop/webkitgtk4-dev/webkit/Source/WTF/wtf/linux/MemoryPressureHandlerLinux.cpp: In member function 'void WTF::MemoryPressureHandler::uninstall()':
/build/rtutils/components/desktop/webkitgtk4-dev/webkit/Source/WTF/wtf/linux/MemoryPressureHandlerLinux.cpp:91:5: error: 'm_holdOffTimer' was not declared in this scope
     m_holdOffTimer.stop();
     ^~~~~~~~~~~~~~
/build/rtutils/components/desktop/webkitgtk4-dev/webkit/Source/WTF/wtf/linux/MemoryPressureHandlerLinux.cpp:91:5: note: suggested alternative: 'holdOff'
     m_holdOffTimer.stop();
     ^~~~~~~~~~~~~~
     holdOff
/build/rtutils/components/desktop/webkitgtk4-dev/webkit/Source/WTF/wtf/linux/MemoryPressureHandlerLinux.cpp: At global scope:
/build/rtutils/components/desktop/webkitgtk4-dev/webkit/Source/WTF/wtf/linux/MemoryPressureHandlerLinux.cpp:96:47: error: no 'void WTF::MemoryPressureHandler::holdOffTimerFired()' member function declared in class 'WTF::MemoryPressureHandler'
 void MemoryPressureHandler::holdOffTimerFired()
                                               ^
/build/rtutils/components/desktop/webkitgtk4-dev/webkit/Source/WTF/wtf/linux/MemoryPressureHandlerLinux.cpp: In member function 'void WTF::MemoryPressureHandler::holdOff(WTF::Seconds)':
/build/rtutils/components/desktop/webkitgtk4-dev/webkit/Source/WTF/wtf/linux/MemoryPressureHandlerLinux.cpp:103:5: error: 'm_holdOffTimer' was not declared in this scope
     m_holdOffTimer.startOneShot(seconds);
     ^~~~~~~~~~~~~~
/build/rtutils/components/desktop/webkitgtk4-dev/webkit/Source/WTF/wtf/linux/MemoryPressureHandlerLinux.cpp:103:5: note: suggested alternative: 'holdOff'
     m_holdOffTimer.startOneShot(seconds);
     ^~~~~~~~~~~~~~
     holdOff

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20181107/ae68c901/attachment.html>


More information about the webkit-unassigned mailing list