Chromium Code Reviews| Index: third_party/WebKit/Source/web/WebPluginContainerImpl.cpp |
| diff --git a/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp b/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp |
| index 4b35fb59ee4b01c10cbd2398f3532bf82bd80c48..601bd6297745384d121e71948b1080650a0b7f66 100644 |
| --- a/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp |
| +++ b/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp |
| @@ -945,8 +945,8 @@ void WebPluginContainerImpl::computeClipRectsForPlugin( |
| clippedLocalRect.intersect(rootView->frameView()->visibleContentRect()); |
| // TODO(chrishtr): intentionally ignore transform, because the positioning of frameRect() does also. This is probably wrong. |
|
wkorman
2016/01/07 18:52:25
Reading line 931 I also wondered why we wouldn't w
chrishtr
2016/01/07 19:06:02
frameRect() is in the space of the containing fram
|
| - unclippedIntLocalRect = box->absoluteToLocalQuad(FloatRect(unclippedIntLocalRect)).enclosingBoundingBox(); |
| - clippedLocalRect = box->absoluteToLocalQuad(FloatRect(clippedLocalRect)).enclosingBoundingBox(); |
| + unclippedIntLocalRect = box->absoluteToLocalQuad(FloatRect(unclippedIntLocalRect), TraverseDocumentBoundaries).enclosingBoundingBox(); |
| + clippedLocalRect = box->absoluteToLocalQuad(FloatRect(clippedLocalRect), TraverseDocumentBoundaries).enclosingBoundingBox(); |
| } |
| void WebPluginContainerImpl::calculateGeometry(IntRect& windowRect, IntRect& clipRect, IntRect& unobscuredRect, Vector<IntRect>& cutOutRects) |
| @@ -965,4 +965,4 @@ void WebPluginContainerImpl::calculateGeometry(IntRect& windowRect, IntRect& cli |
| cutOutRects[i].move(-frameRect().x(), -frameRect().y()); |
| } |
| -} // namespace blinkf |
| +} // namespace blink |