Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(356)

Unified Diff: webkit/glue/webplugin_impl.cc

Issue 16617: Chrome side of webkit merge to 40124.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/webframe_impl.cc ('k') | webkit/port/bindings/v8/CanvasPixelArray.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webplugin_impl.cc
===================================================================
--- webkit/glue/webplugin_impl.cc (revision 8475)
+++ webkit/glue/webplugin_impl.cc (working copy)
@@ -33,6 +33,7 @@
#include "PlatformContextSkia.h"
#include "PlatformMouseEvent.h"
#include "PlatformString.h"
+#include "RenderBox.h"
#include "ResourceHandle.h"
#include "ResourceHandleClient.h"
#include "ResourceResponse.h"
@@ -633,7 +634,8 @@
if (n && n->hasTagName(WebCore::HTMLNames::iframeTag)) {
if (!ro->style() || ro->style()->visibility() == WebCore::VISIBLE) {
WebCore::IntPoint point = roundedIntPoint(ro->localToAbsolute());
- WebCore::IntSize size(ro->width(), ro->height());
+ WebCore::RenderBox* rbox = WebCore::RenderBox::toRenderBox(ro);
+ WebCore::IntSize size(rbox->width(), rbox->height());
cutouts->append(WebCore::IntRect(point, size));
}
}
« no previous file with comments | « webkit/glue/webframe_impl.cc ('k') | webkit/port/bindings/v8/CanvasPixelArray.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698