Title: [209790] trunk/Source/WebCore
- Revision
- 209790
- Author
- [email protected]
- Date
- 2016-12-13 22:09:29 -0800 (Tue, 13 Dec 2016)
Log Message
Memory warning logging appears to capture resident footprint, missing compress/swap.
https://bugs.webkit.org/show_bug.cgi?id=165533
<rdar://problem/29318410>
Patch by Keith Rollin <[email protected]> on 2016-12-13
Reviewed by Daniel Bates.
Fix GTK build by adding an explicit constructor.
* platform/MemoryPressureHandler.h:
(WebCore::MemoryPressureHandler::ReliefLogger::MemoryUsage::MemoryUsage):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (209789 => 209790)
--- trunk/Source/WebCore/ChangeLog 2016-12-14 04:18:11 UTC (rev 209789)
+++ trunk/Source/WebCore/ChangeLog 2016-12-14 06:09:29 UTC (rev 209790)
@@ -1,3 +1,16 @@
+2016-12-13 Keith Rollin <[email protected]>
+
+ Memory warning logging appears to capture resident footprint, missing compress/swap.
+ https://bugs.webkit.org/show_bug.cgi?id=165533
+ <rdar://problem/29318410>
+
+ Reviewed by Daniel Bates.
+
+ Fix GTK build by adding an explicit constructor.
+
+ * platform/MemoryPressureHandler.h:
+ (WebCore::MemoryPressureHandler::ReliefLogger::MemoryUsage::MemoryUsage):
+
2016-12-13 Daniel Bates <[email protected]>
CSP: ws: and wss: blocked with connect-src *
Modified: trunk/Source/WebCore/platform/MemoryPressureHandler.h (209789 => 209790)
--- trunk/Source/WebCore/platform/MemoryPressureHandler.h 2016-12-14 04:18:11 UTC (rev 209789)
+++ trunk/Source/WebCore/platform/MemoryPressureHandler.h 2016-12-14 06:09:29 UTC (rev 209790)
@@ -115,6 +115,12 @@
private:
struct MemoryUsage {
+ MemoryUsage() = default;
+ MemoryUsage(size_t resident, size_t physical)
+ : resident(resident)
+ , physical(physical)
+ {
+ }
size_t resident { 0 };
size_t physical { 0 };
};
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes