https://bugs.webkit.org/show_bug.cgi?id=79373
Patch by Jonathan Backer <backer@chromium.org> on 2012-02-23
Reviewed by James Robinson.
Source/WebCore:
* platform/graphics/chromium/VideoLayerChromium.cpp:
(WebCore::VideoLayerChromium::contentChanged):
(WebCore):
* platform/graphics/chromium/VideoLayerChromium.h:
(VideoLayerChromium):
Source/WebKit/chromium:
* src/WebMediaPlayerClientImpl.cpp:
(WebKit::WebMediaPlayerClientImpl::repaint):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108703
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2012-02-23 Jonathan Backer <backer@chromium.org>
+
+ [chromium] Plumb video damage to the damage tracker.
+ https://bugs.webkit.org/show_bug.cgi?id=79373
+
+ Reviewed by James Robinson.
+
+ * platform/graphics/chromium/VideoLayerChromium.cpp:
+ (WebCore::VideoLayerChromium::contentChanged):
+ (WebCore):
+ * platform/graphics/chromium/VideoLayerChromium.h:
+ (VideoLayerChromium):
+
2012-02-23 MORITA Hajime <morrita@google.com>
This test checks select attribute of content element is valid.
return CCVideoLayerImpl::create(m_layerId, m_provider);
}
+void VideoLayerChromium::contentChanged()
+{
+ m_updateRect = FloatRect(FloatPoint(), contentBounds());
+ setNeedsDisplay();
+}
+
} // namespace WebCore
#endif // USE(ACCELERATED_COMPOSITING)
virtual PassRefPtr<CCLayerImpl> createCCLayerImpl();
+ void contentChanged();
+
private:
explicit VideoLayerChromium(VideoFrameProvider*);
+2012-02-23 Jonathan Backer <backer@chromium.org>
+
+ [chromium] Plumb video damage to the damage tracker.
+ https://bugs.webkit.org/show_bug.cgi?id=79373
+
+ Reviewed by James Robinson.
+
+ * src/WebMediaPlayerClientImpl.cpp:
+ (WebKit::WebMediaPlayerClientImpl::repaint):
+
2012-02-21 James Robinson <jamesr@chromium.org>
[chromium] Notify compositor of wheel event registration via ScrollingCoordinator
ASSERT(m_mediaPlayer);
#if USE(ACCELERATED_COMPOSITING)
if (m_videoLayer && supportsAcceleratedRendering())
- m_videoLayer->setNeedsDisplay();
+ m_videoLayer->contentChanged();
#endif
m_mediaPlayer->repaint();
}