[Webkit-unassigned] [Bug 90726] New: Remove unnecessary member HTMLTreeBuilder::m_lastScriptElementStartPosition

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jul 7 04:06:44 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=90726

           Summary: Remove unnecessary member
                    HTMLTreeBuilder::m_lastScriptElementStartPosition
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: skyul at company100.net


HTMLTreeBuilder::m_lastScriptElementStartPosition is of no use. Currently, m_lastScriptElementStartPosition is used to store the text position in "script" start tag, and then the stored position is passed to m_scriptToProcessStartPosition later in "script" end tag. Because HTMLTreeBuilder handles one script tag at a time, we can store the text position directly to m_scriptToProcessStartPosition in "script" start tag.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list