[Webkit-unassigned] [Bug 100265] New: call to setNeedsLayout during RenderVideo::paintReplaced
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 24 10:19:07 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=100265
Summary: call to setNeedsLayout during
RenderVideo::paintReplaced
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: tony at chromium.org
CC: eric.carlson at apple.com, fischman at chromium.org
Ami did some detective work in bug 89733, comment 8 and got the following stack:
WebCore::RenderObject::setNeedsLayout() [0x7f7e5781e4ff]
WebCore::RenderVideo::updateIntrinsicSize() [0x7f7e57a5353a]
WebCore::RenderVideo::updatePlayer() [0x7f7e57a53d79]
WebCore::RenderVideo::paintReplaced() [0x7f7e57a53acc]
WebCore::RenderReplaced::paint() [0x7f7e579f6299]
WebCore::RenderImage::paint() [0x7f7e5794c0ca]
WebCore::RenderLayer::paintLayerContents() [0x7f7e5796c35e]
WebCore::RenderLayer::paintLayerContentsAndReflection() [0x7f7e5796b63f]
WebCore::RenderLayer::paintLayer() [0x7f7e5796ac36]
WebCore::RenderLayer::paintList() [0x7f7e5796d3c5]
WebCore::RenderLayer::paintLayerContents() [0x7f7e5796c58d]
WebCore::RenderLayer::paintLayerContentsAndReflection() [0x7f7e5796b63f]
WebCore::RenderLayer::paintLayer() [0x7f7e5796ac36]
WebCore::RenderLayer::paintList() [0x7f7e5796d3c5]
WebCore::RenderLayer::paintLayerContents() [0x7f7e5796c5fb]
WebCore::RenderLayer::paintLayerContentsAndReflection() [0x7f7e5796b63f]
WebCore::RenderLayer::paintLayer() [0x7f7e5796ac36]
WebCore::RenderLayer::paint() [0x7f7e5796a49d]
WebCore::FrameView::paintContents() [0x7f7e58865327]
WebCore::ScrollView::paint() [0x7f7e57eba158]
WebKit::PageWidgetDelegate::paint() [0x7f7e573f0956]
WebKit::WebViewImpl::paint() [0x7f7e574b55eb]
content::RenderWidget::PaintRect() [0x7f7e55d97da6]
content::RenderWidget::DoDeferredUpdate() [0x7f7e55d9312d]
content::RenderWidget::DoDeferredUpdateAndSendInputAck() [0x7f7e55d97319]
content::RenderWidget::InvalidationCallback() [0x7f7e55d98a7a]
Looking at the code, I'm not sure why we're trying to update the layout during paint. That seems wrong. My random guess would be that we can just remove the call to updatePlayer since RenderVideo::layout has already called it at this point.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list