m_contentsDirty is used by some layers, m_dirtyRect.isEmpty() is used by other layers. Thankfully, LayerChromium initializes both properly, but the individual layer types may be expected to reset these values themselves, and they only set one or the other, not both. One solution is to remove m_contentsDirty. All layers should check if the m_dirtyRect is empty.
Created attachment 107595 [details] Patch
Comment on attachment 107595 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=107595&action=review > Source/WebCore/platform/graphics/chromium/Canvas2DLayerChromium.cpp:72 > + if (!m_dirtyRect.isEmpty()) { Since you're here, this if check is clearly unnecessary. Can you remove it?
Created attachment 107669 [details] Patch
Comment on attachment 107669 [details] Patch Cool
Comment on attachment 107669 [details] Patch Clearing flags on attachment: 107669 Committed r95365: <http://trac.webkit.org/changeset/95365>
All reviewed patches have been landed. Closing bug.