Bug 113181 - Remove unused code from Frame class destructor
Summary: Remove unused code from Frame class destructor
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Mikhail Pozdnyakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-25 02:43 PDT by Mikhail Pozdnyakov
Modified: 2013-03-25 13:55 PDT (History)
3 users (show)

See Also:


Attachments
patch (1.48 KB, patch)
2013-03-25 02:52 PDT, Mikhail Pozdnyakov
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Pozdnyakov 2013-03-25 02:43:08 PDT
The following code snipped inside Frame::~Frame()
  if (m_view) {
        m_view->hide();
        m_view->clearFrame();
    }

does not make sense as m_view had been already set to '0' within the same function
Comment 1 Mikhail Pozdnyakov 2013-03-25 02:52:39 PDT
Created attachment 194813 [details]
patch
Comment 2 WebKit Review Bot 2013-03-25 13:55:43 PDT
Comment on attachment 194813 [details]
patch

Clearing flags on attachment: 194813

Committed r146815: <http://trac.webkit.org/changeset/146815>
Comment 3 WebKit Review Bot 2013-03-25 13:55:46 PDT
All reviewed patches have been landed.  Closing bug.