Changeset 98394 in webkit
- Timestamp:
- Oct 25, 2011, 2:11:00 PM (15 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
WebProcess/Plugins/PluginView.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r98386 r98394 1 2011-10-25 Anders Carlsson <andersca@apple.com> 2 3 Assertion failure when zooming a PDF in an iframe 4 https://bugs.webkit.org/show_bug.cgi?id=70849 5 6 Reviewed by Alexey Proskuryakov. 7 8 If the plug-in doesn't want window relative coordinates, we shouldn't give the plug-in window relative coordinates. 9 10 * WebProcess/Plugins/PluginView.cpp: 11 (WebKit::PluginView::viewGeometryDidChange): 12 1 13 2011-10-25 Sam Weinig <sam@webkit.org> 2 14 -
trunk/Source/WebKit2/WebProcess/Plugins/PluginView.cpp
r98369 r98394 709 709 return; 710 710 711 // Get the frame rect in window coordinates. 712 // FIXME: Figure out what we should pass here when m_plugin->wantsWindowRelativeCoordinates() returns false. 713 IntRect frameRectInWindowCoordinates = parent()->contentsToWindow(frameRect()); 714 m_plugin->geometryDidChange(frameRectInWindowCoordinates, clipRectInWindowCoordinates()); 711 IntRect rect; 712 713 if (m_plugin->wantsWindowRelativeCoordinates()) { 714 // Get the frame rect in window coordinates. 715 rect = parent()->contentsToWindow(frameRect()); 716 } else { 717 // FIXME: The plug-in shouldn't know its location relative to its parent frame. 718 rect = frameRect(); 719 } 720 721 m_plugin->geometryDidChange(rect, clipRectInWindowCoordinates()); 715 722 } 716 723
Note:
See TracChangeset
for help on using the changeset viewer.