Summary: | Crash when switching to tiled layer when parent is also a tiled layer | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Chris Marrin <cmarrin> | ||||||
Component: | Layout and Rendering | Assignee: | Chris Marrin <cmarrin> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | Keywords: | InRadar | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | PC | ||||||||
OS: | Windows 7 | ||||||||
Attachments: |
|
Description
Chris Marrin
2010-08-25 11:49:03 PDT
Created attachment 65466 [details]
test showing problem
Created attachment 65479 [details]
Patch with test case
Comment on attachment 65479 [details]
Patch with test case
WebCore/platform/graphics/win/WKCACFLayer.h:65
+ ASSERT(CACFLayerGetUserData(layer) != reinterpret_cast<void*>(0xDeadBeef));
I think 0xDeadBeef should be all lower- or uppercase.
WebCore/platform/graphics/win/WKCACFLayer.cpp:185
+ CACFLayerSetUserData(layer(), reinterpret_cast<void*>(0xDeadBeef));
Only do this in debug builds.
Seems like the underlying cause is that we mess with sublayerCount() for tiled layers. It would be nice to find a way to avoid that source of confusion.
Landed in http://trac.webkit.org/changeset/66050 |