Title: [171012] trunk/Source/WebCore
- Revision
- 171012
- Author
- [email protected]
- Date
- 2014-07-11 14:10:46 -0700 (Fri, 11 Jul 2014)
Log Message
Use the bare minimum tile coverage rect when under memory pressure.
<https://webkit.org/b/134837>
When the browser is under critical memory pressure, don't generate any
more tiles than are needed to cover the exposed viewport rect.
Reviewed by Pratik Solanki.
* page/FrameView.cpp:
(WebCore::FrameView::computeCoverageRect):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (171011 => 171012)
--- trunk/Source/WebCore/ChangeLog 2014-07-11 21:04:17 UTC (rev 171011)
+++ trunk/Source/WebCore/ChangeLog 2014-07-11 21:10:46 UTC (rev 171012)
@@ -1,3 +1,16 @@
+2014-07-11 Andreas Kling <[email protected]>
+
+ Use the bare minimum tile coverage rect when under memory pressure.
+ <https://webkit.org/b/134837>
+
+ When the browser is under critical memory pressure, don't generate any
+ more tiles than are needed to cover the exposed viewport rect.
+
+ Reviewed by Pratik Solanki.
+
+ * page/FrameView.cpp:
+ (WebCore::FrameView::computeCoverageRect):
+
2014-07-11 Javier Fernandez <[email protected]>
[CSS Grid Layout] Implement justify-self css property
Modified: trunk/Source/WebCore/page/FrameView.cpp (171011 => 171012)
--- trunk/Source/WebCore/page/FrameView.cpp 2014-07-11 21:04:17 UTC (rev 171011)
+++ trunk/Source/WebCore/page/FrameView.cpp 2014-07-11 21:10:46 UTC (rev 171012)
@@ -4260,7 +4260,7 @@
FloatRect FrameView::computeCoverageRect(double horizontalMargin, double verticalMargin) const
{
FloatRect exposedContentRect = this->exposedContentRect();
- if (!m_speculativeTilingEnabled)
+ if (!m_speculativeTilingEnabled || memoryPressureHandler().isUnderMemoryPressure())
return exposedContentRect;
double currentTime = monotonicallyIncreasingTime();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes