Title: [116987] trunk/Source/WebKit/blackberry
- Revision
- 116987
- Author
- [email protected]
- Date
- 2012-05-14 13:09:41 -0700 (Mon, 14 May 2012)
Log Message
[BlackBerry] ASSERT failure in FrameView::paintContents when refleshing www.thestar.com/iphone
https://bugs.webkit.org/show_bug.cgi?id=86391
Patch by Jacky Jiang <[email protected]> on 2012-05-14
Reviewed by Adam Treat.
PR 156992
Request layout first if needed before painting contents.
* Api/BackingStore.cpp:
(BlackBerry::WebKit::BackingStorePrivate::renderContents):
Modified Paths
Diff
Modified: trunk/Source/WebKit/blackberry/Api/BackingStore.cpp (116986 => 116987)
--- trunk/Source/WebKit/blackberry/Api/BackingStore.cpp 2012-05-14 20:04:37 UTC (rev 116986)
+++ trunk/Source/WebKit/blackberry/Api/BackingStore.cpp 2012-05-14 20:09:41 UTC (rev 116987)
@@ -2220,6 +2220,9 @@
{
if (!drawable || contentsRect.isEmpty())
return;
+
+ requestLayoutIfNeeded();
+
PlatformGraphicsContext* platformGraphicsContext = SurfacePool::globalSurfacePool()->createPlatformGraphicsContext(drawable);
GraphicsContext graphicsContext(platformGraphicsContext);
Modified: trunk/Source/WebKit/blackberry/ChangeLog (116986 => 116987)
--- trunk/Source/WebKit/blackberry/ChangeLog 2012-05-14 20:04:37 UTC (rev 116986)
+++ trunk/Source/WebKit/blackberry/ChangeLog 2012-05-14 20:09:41 UTC (rev 116987)
@@ -1,3 +1,16 @@
+2012-05-14 Jacky Jiang <[email protected]>
+
+ [BlackBerry] ASSERT failure in FrameView::paintContents when refleshing www.thestar.com/iphone
+ https://bugs.webkit.org/show_bug.cgi?id=86391
+
+ Reviewed by Adam Treat.
+
+ PR 156992
+ Request layout first if needed before painting contents.
+
+ * Api/BackingStore.cpp:
+ (BlackBerry::WebKit::BackingStorePrivate::renderContents):
+
2012-05-10 Mike Fenton <[email protected]>
Caret node boundary should be adjusted to account for the visible region.
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes