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

Unified Diff: Source/WebCore/rendering/RenderTreeAsText.cpp

Issue 13544008: Remove PlatformWidget references (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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
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)

Powered by Google App Engine
This is Rietveld 408576698