Index: Source/WebCore/rendering/RenderTreeAsText.cpp |
diff --git a/Source/WebCore/rendering/RenderTreeAsText.cpp b/Source/WebCore/rendering/RenderTreeAsText.cpp |
index b369e12333475cb392ed2d8ce0086f379257102e..c1173e76156d37170f37b77507c7ef2f07f29ad6 100644 |
--- a/Source/WebCore/rendering/RenderTreeAsText.cpp |
+++ b/Source/WebCore/rendering/RenderTreeAsText.cpp |
@@ -479,23 +479,6 @@ void RenderTreeAsText::writeRenderObject(TextStream& ts, const RenderObject& o, |
if (needsLayout) |
ts << ")"; |
} |
- |
-#if PLATFORM(QT) |
- // Print attributes of embedded QWidgets. E.g. when the WebCore::Widget |
- // is invisible the QWidget should be invisible too. |
- if (o.isRenderPart()) { |
- const RenderPart* part = toRenderPart(const_cast<RenderObject*>(&o)); |
- if (part->widget() && part->widget()->platformWidget()) { |
- QObject* wid = part->widget()->platformWidget(); |
- |
- ts << " [QT: "; |
- ts << "geometry: {" << wid->property("geometry").toRect() << "} "; |
- ts << "isHidden: " << !wid->property("isVisible").toBool() << " "; |
- ts << "isSelfVisible: " << part->widget()->isSelfVisible() << " "; |
- ts << "isParentVisible: " << part->widget()->isParentVisible() << " ] "; |
- } |
- } |
-#endif |
} |
static void writeTextRun(TextStream& ts, const RenderText& o, const InlineTextBox& run) |