diff options
Diffstat (limited to 'Source/WebCore/platform/wx/WidgetWx.cpp')
-rw-r--r-- | Source/WebCore/platform/wx/WidgetWx.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/WebCore/platform/wx/WidgetWx.cpp b/Source/WebCore/platform/wx/WidgetWx.cpp index 7591a5b..9de4c3d 100644 --- a/Source/WebCore/platform/wx/WidgetWx.cpp +++ b/Source/WebCore/platform/wx/WidgetWx.cpp @@ -80,10 +80,6 @@ IntRect Widget::frameRect() const void Widget::setFrameRect(const IntRect& rect) { - // Take a reference to this Widget, because calling functions of the PlatformWidget can invoke arbitrary - // code, which can deref it. - RefPtr<Widget> protectedThis(this); - if (PlatformWidget widget = platformWidget()) widget->SetSize(rect); |