Bug 33969

Summary: Unnecessary call to HistoryItem::targetItem in HistoryController::pushState
Product: WebKit Reporter: Darin Fisher (:fishd, Google) <fishd>
Component: Page LoadingAssignee: Darin Fisher (:fishd, Google) <fishd>
Status: RESOLVED FIXED    
Severity: Normal CC: beidson
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
v1 patch levin: review+

Description Darin Fisher (:fishd, Google) 2010-01-21 13:19:15 PST
Unnecessary call to HistoryItem::targetItem in HistoryController::pushState

createTreeItem is called with m_frame, and createTreeItem sets isTargetItem to true
if the Frame passed to it is equal to m_frame.  so calling targetItem on the result
returned from createTreeItem(m_frame,...) is unnecessary.
Comment 1 Darin Fisher (:fishd, Google) 2010-01-21 13:21:53 PST
Created attachment 47142 [details]
v1 patch
Comment 2 Darin Fisher (:fishd, Google) 2010-01-21 14:25:33 PST
Landed as http://trac.webkit.org/changeset/53650