Bug 131640

Summary: [iOS WK2] Hash table assertion closing a tab
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: New BugsAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: simon.fraser, thorton
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch thorton: review+

Description Simon Fraser (smfr) 2014-04-14 15:30:50 PDT
[iOS WK2] Hash table assertion closing a tab
Comment 1 Simon Fraser (smfr) 2014-04-14 15:31:48 PDT
Created attachment 229313 [details]
Patch
Comment 2 Tim Horton 2014-04-14 15:32:47 PDT
Comment on attachment 229313 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=229313&action=review

> Source/WebKit2/WebProcess/WebPage/mac/RemoteLayerTreeContext.h:74
> +    HashMap<WebCore::GraphicsLayer::PlatformLayerID, PlatformCALayerRemote*> m_liveLayers;

"live" might be a misnomer since they're not all in the tree, but whatever.

> Source/WebKit2/WebProcess/WebPage/mac/RemoteLayerTreeContext.mm:52
> +    for (auto& keyValuePair : m_liveLayers)

m_liveLayers.values()
Comment 3 Simon Fraser (smfr) 2014-04-14 15:37:47 PDT
https://trac.webkit.org/r167273
Comment 4 Tim Horton 2014-04-16 09:21:02 PDT
<rdar://problem/16612993>