Bug 131640 - [iOS WK2] Hash table assertion closing a tab
Summary: [iOS WK2] Hash table assertion closing a tab
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-14 15:30 PDT by Simon Fraser (smfr)
Modified: 2014-04-16 09:21 PDT (History)
2 users (show)

See Also:


Attachments
Patch (5.45 KB, patch)
2014-04-14 15:31 PDT, Simon Fraser (smfr)
thorton: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>