Bug 64815 - Possible recursion in GraphicsLayerCA::updateGeometry()
Summary: Possible recursion in GraphicsLayerCA::updateGeometry()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.6
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords:
Depends on:
Blocks: 64828
  Show dependency treegraph
 
Reported: 2011-07-19 11:40 PDT by Simon Fraser (smfr)
Modified: 2011-07-19 15:05 PDT (History)
3 users (show)

See Also:


Attachments
Patch (7.03 KB, patch)
2011-07-19 12:20 PDT, Simon Fraser (smfr)
sam: 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) 2011-07-19 11:40:45 PDT
It's possible to hit infinite recursion in GraphicsLayerCA::updateGeometry()/swapFromOrToTiledLayer()/updateContentsScale()/swapFromOrToTiledLayer()... because updateContentsScale() uses a different size than updateGeometry() for the tiled layer check.
Comment 1 Simon Fraser (smfr) 2011-07-19 12:20:49 PDT
Created attachment 101360 [details]
Patch
Comment 2 Simon Fraser (smfr) 2011-07-19 13:34:07 PDT
http://trac.webkit.org/changeset/91294