Commit f6463f7a authored by bfulgham@webkit.org's avatar bfulgham@webkit.org
Browse files

[Windows, WinCairo] Scroll offset being applied to plugins during print operations.

https://bugs.webkit.org/show_bug.cgi?id=39889

Reviewed by Anders Carlsson.

This must be tested manually. See the issue for details.

* plugins/win/PluginViewWin.cpp:
(WebCore::PluginView::paintWindowedPluginIntoContext):
Revise the Windows implementation of the PluginView class
paintWindowedPluginIntoContext to use the containing window
position when computing the plugin's position for printing.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146941 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 50666458
2013-03-26 Brent Fulgham <bfulgham@webkit.org>
[Windows, WinCairo] Scroll offset being applied to plugins during print operations.
https://bugs.webkit.org/show_bug.cgi?id=39889
Reviewed by Anders Carlsson.
This must be tested manually. See the issue for details.
* plugins/win/PluginViewWin.cpp:
(WebCore::PluginView::paintWindowedPluginIntoContext):
Revise the Windows implementation of the PluginView class
paintWindowedPluginIntoContext to use the containing window
position when computing the plugin's position for printing.
2013-03-26 Xianzhu Wang <wangxianzhu@chromium.org>
 
Non-paintsContent fixed position layer should not cause slow scrolling
......@@ -586,7 +586,7 @@ void PluginView::paintWindowedPluginIntoContext(GraphicsContext* context, const
ASSERT(context->shouldIncludeChildWindows());
ASSERT(parent()->isFrameView());
IntPoint locationInWindow = toFrameView(parent())->contentsToWindow(frameRect().location());
IntPoint locationInWindow = toFrameView(parent())->convertToContainingWindow(frameRect().location());
LocalWindowsContext windowsContext(context, frameRect(), false);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment