Summary: | [chromium] FPS HUD bitmap contains random noise on the mac | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Vangelis Kokkevis <vangelis> | ||||
Component: | WebCore Misc. | Assignee: | Vangelis Kokkevis <vangelis> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | cc-bugs, danakj, enne, eric, jamesr, reed, webkit.review.bot | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Vangelis Kokkevis
2012-08-10 19:48:40 PDT
Created attachment 157853 [details]
Patch
Comment on attachment 157853 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=157853&action=review R=me, with one robustness suggestion. > Source/WebCore/platform/graphics/chromium/cc/CCHeadsUpDisplayLayerImpl.cpp:99 > + if (canvasSize.fWidth != bounds().width() || canvasSize.fHeight != bounds().height()) If bounds() are empty the first time through this function, it'll crash on a null m_hudCanvas below. Maybe add a || !m_hudCanvas for safety? Committed r125445: <http://trac.webkit.org/changeset/125445> |