Index: Source/WebCore/platform/Widget.cpp |
diff --git a/Source/WebCore/platform/Widget.cpp b/Source/WebCore/platform/Widget.cpp |
index 613c4730a498d28dcbec08eb3ae98f0b1f567762..2265c07054941316dda5403a176347cd034a3e50 100644 |
--- a/Source/WebCore/platform/Widget.cpp |
+++ b/Source/WebCore/platform/Widget.cpp |
@@ -33,14 +33,11 @@ |
namespace WebCore { |
-void Widget::init(PlatformWidget widget) |
+void Widget::init() |
{ |
m_parent = 0; |
m_selfVisible = false; |
m_parentVisible = false; |
- m_widget = widget; |
- if (m_widget) |
- retainPlatformWidget(); |
} |
void Widget::setParent(ScrollView* view) |