Summary: | [Win][HighDPI] Windowed plugins have incorrect placement. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | peavo | ||||||
Component: | WebKit Misc. | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | achristensen, bfulgham, commit-queue | ||||||
Priority: | P2 | ||||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
peavo
2015-09-12 01:00:40 PDT
Created attachment 261051 [details]
Patch
(In reply to comment #1) > Created attachment 261051 [details] > Patch This patch needs a little tweaking, it also affects the placements of windowless plugins, which already have correct placement ... :) Comment on attachment 261051 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=261051&action=review > Source/WebKit/win/Plugins/PluginViewWin.cpp:961 > + FrameView& frameView = downcast<FrameView>(*parent()); Is the parent always non-null and always a FrameView? (In reply to comment #3) > Comment on attachment 261051 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=261051&action=review > > > Source/WebKit/win/Plugins/PluginViewWin.cpp:961 > > + FrameView& frameView = downcast<FrameView>(*parent()); > > Is the parent always non-null and always a FrameView? Thanks for reviewing :) This is a good point, I'm not sure. I will put an assert there and test. Created attachment 261393 [details]
Patch
Comment on attachment 261393 [details]
Patch
r=me. Thanks!
(In reply to comment #6) > Comment on attachment 261393 [details] > Patch > > r=me. Thanks! Thanks for reviewing :) Comment on attachment 261393 [details] Patch Clearing flags on attachment: 261393 Committed r189919: <http://trac.webkit.org/changeset/189919> All reviewed patches have been landed. Closing bug. |