Index: Source/core/rendering/RenderEmbeddedObject.cpp |
diff --git a/Source/core/rendering/RenderEmbeddedObject.cpp b/Source/core/rendering/RenderEmbeddedObject.cpp |
index b26c4ad292552973d6cbc04cf8b2d6ba106127b4..eaf7f167453ee0061d59064e17e8d334c8592cc9 100644 |
--- a/Source/core/rendering/RenderEmbeddedObject.cpp |
+++ b/Source/core/rendering/RenderEmbeddedObject.cpp |
@@ -251,4 +251,11 @@ CompositingReasons RenderEmbeddedObject::additionalCompositingReasons(Compositin |
return CompositingReasonNone; |
} |
+RenderBox* RenderEmbeddedObject::embeddedContentBox() const |
+{ |
+ if (!node() || !widget() || !widget()->isFrameView()) |
+ return 0; |
+ return toFrameView(widget())->embeddedContentBox(); |
+} |
+ |
} |