Changeset 147737 in webkit
- Timestamp:
- Apr 5, 2013 4:27:48 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r147732 r147737 1 2013-04-05 Jocelyn Turcotte <jocelyn.turcotte@digia.com> 2 3 [Qt] PluginsX11: exposedRect offset is applied twice when painting windowless 4 https://bugs.webkit.org/show_bug.cgi?id=114020 5 6 Reviewed by Simon Hausmann. 7 8 Both XGetImage and QPainter::drawImage would apply the offset. 9 Since the XImage will only contain the exposed rect, no need to specify 10 the source rect to drawImage. 11 12 * plugins/qt/PluginViewQt.cpp: 13 (WebCore::PluginView::paintUsingXPixmap): 14 1 15 2013-04-05 Seokju Kwon <seokju.kwon@gmail.com> 2 16 -
trunk/Source/WebCore/plugins/qt/PluginViewQt.cpp
r145913 r147737 230 230 XImage* xImage = XGetImage(x11Display(), m_drawable, exposedRect.x(), exposedRect.y(), 231 231 exposedRect.width(), exposedRect.height(), ULONG_MAX, ZPixmap); 232 painter->drawImage(QPoint(exposedRect.x(), exposedRect.y()), qimageFromXImage(xImage) , exposedRect);232 painter->drawImage(QPoint(exposedRect.x(), exposedRect.y()), qimageFromXImage(xImage)); 233 233 XDestroyImage(xImage); 234 234 }
Note: See TracChangeset
for help on using the changeset viewer.