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

Unified Diff: Source/core/rendering/RenderEmbeddedObject.cpp

Issue 698743002: [WIP] Adding support for <iframe>s to slimming paint. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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
Index: Source/core/rendering/RenderEmbeddedObject.cpp
diff --git a/Source/core/rendering/RenderEmbeddedObject.cpp b/Source/core/rendering/RenderEmbeddedObject.cpp
index 8c97ac4266f3f1007b915539f7ec3a830fb0bb58..b2d562ba49674232d92a3185caeff89040d433ad 100644
--- a/Source/core/rendering/RenderEmbeddedObject.cpp
+++ b/Source/core/rendering/RenderEmbeddedObject.cpp
@@ -103,15 +103,6 @@ bool RenderEmbeddedObject::showsUnavailablePluginIndicator() const
return m_showsUnavailablePluginIndicator;
}
-void RenderEmbeddedObject::paintContents(PaintInfo& paintInfo, const LayoutPoint& paintOffset)
-{
- Element* element = toElement(node());
- if (!isHTMLPlugInElement(element))
- return;
-
- RenderPart::paintContents(paintInfo, paintOffset);
-}
-
void RenderEmbeddedObject::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset)
{
if (showsUnavailablePluginIndicator()) {

Powered by Google App Engine
This is Rietveld 408576698