Title: [197580] trunk/Source/WebCore
- Revision
- 197580
- Author
- [email protected]
- Date
- 2016-03-04 12:19:45 -0800 (Fri, 04 Mar 2016)
Log Message
Fix crash seen in iOS simulator tests
https://bugs.webkit.org/show_bug.cgi?id=155030
Reviewed by Tim Horton.
owningGraphicsLayer() can be null when the tileSizeChangeTimer fires, so null check
it and return, as we do for the tileRevalidationTimer.
* platform/graphics/ca/TileController.cpp:
(WebCore::TileController::tileSizeChangeTimerFired):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (197579 => 197580)
--- trunk/Source/WebCore/ChangeLog 2016-03-04 19:59:59 UTC (rev 197579)
+++ trunk/Source/WebCore/ChangeLog 2016-03-04 20:19:45 UTC (rev 197580)
@@ -1,3 +1,16 @@
+2016-03-04 Simon Fraser <[email protected]>
+
+ Fix crash seen in iOS simulator tests
+ https://bugs.webkit.org/show_bug.cgi?id=155030
+
+ Reviewed by Tim Horton.
+
+ owningGraphicsLayer() can be null when the tileSizeChangeTimer fires, so null check
+ it and return, as we do for the tileRevalidationTimer.
+
+ * platform/graphics/ca/TileController.cpp:
+ (WebCore::TileController::tileSizeChangeTimerFired):
+
2016-03-04 Alex Christensen <[email protected]>
Remove vcxproj build system
Modified: trunk/Source/WebCore/platform/graphics/ca/TileController.cpp (197579 => 197580)
--- trunk/Source/WebCore/platform/graphics/ca/TileController.cpp 2016-03-04 19:59:59 UTC (rev 197579)
+++ trunk/Source/WebCore/platform/graphics/ca/TileController.cpp 2016-03-04 20:19:45 UTC (rev 197580)
@@ -477,6 +477,9 @@
void TileController::tileSizeChangeTimerFired()
{
+ if (!owningGraphicsLayer())
+ return;
+
m_tileSizeLocked = false;
setNeedsRevalidateTiles();
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes