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

Unified Diff: Source/WebCore/platform/Widget.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/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)

Powered by Google App Engine
This is Rietveld 408576698