Title: [128978] trunk/Source/WebCore
- Revision
- 128978
- Author
- [email protected]
- Date
- 2012-09-19 01:43:33 -0700 (Wed, 19 Sep 2012)
Log Message
[Qt][Win] Fix rendering of flash content when scrolling
https://bugs.webkit.org/show_bug.cgi?id=92905
Patch by Simon Hausmann <[email protected]> on 2012-09-19
Reviewed by Jocelyn Turcotte.
Fix rendering offset similar to r121441.
* plugins/win/PluginViewWin.cpp:
(WebCore::PluginView::paint):
(WebCore::PluginView::setNPWindowRect):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (128977 => 128978)
--- trunk/Source/WebCore/ChangeLog 2012-09-19 08:30:50 UTC (rev 128977)
+++ trunk/Source/WebCore/ChangeLog 2012-09-19 08:43:33 UTC (rev 128978)
@@ -1,3 +1,16 @@
+2012-09-19 Simon Hausmann <[email protected]>
+
+ [Qt][Win] Fix rendering of flash content when scrolling
+ https://bugs.webkit.org/show_bug.cgi?id=92905
+
+ Reviewed by Jocelyn Turcotte.
+
+ Fix rendering offset similar to r121441.
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginView::paint):
+ (WebCore::PluginView::setNPWindowRect):
+
2012-09-19 Andrey Adaikin <[email protected]>
Web Inspector: [WebGL] -> [Canvas] Rename WebGLAgent to CanvasAgent
Modified: trunk/Source/WebCore/plugins/win/PluginViewWin.cpp (128977 => 128978)
--- trunk/Source/WebCore/plugins/win/PluginViewWin.cpp 2012-09-19 08:30:50 UTC (rev 128977)
+++ trunk/Source/WebCore/plugins/win/PluginViewWin.cpp 2012-09-19 08:43:33 UTC (rev 128978)
@@ -640,9 +640,9 @@
ASSERT(parent()->isFrameView());
- // In the GTK port we draw in an offscreen buffer and don't want to use the window
+ // In the GTK and Qt ports we draw in an offscreen buffer and don't want to use the window
// coordinates.
-#if PLATFORM(GTK)
+#if PLATFORM(GTK) || PLATFORM(QT)
IntRect rectInWindow(rect);
rectInWindow.intersect(frameRect());
#else
@@ -831,9 +831,9 @@
m_npWindow.clipRect.right = r.width();
m_npWindow.clipRect.bottom = r.height();
#else
- // In the GTK port we draw in an offscreen buffer and don't want to use the window
+ // In the GTK and Qt ports we draw in an offscreen buffer and don't want to use the window
// coordinates.
-# if PLATFORM(GTK)
+# if PLATFORM(GTK) || PLATFORM(QT)
IntPoint p = rect.location();
# else
IntPoint p = static_cast<FrameView*>(parent())->contentsToWindow(rect.location());
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes