Bug 115799 - HashTraits<RefPtr<P> >::peek should consider empty value
Summary: HashTraits<RefPtr<P> >::peek should consider empty value
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Template Framework (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Mikhail Pozdnyakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-08 06:53 PDT by Mikhail Pozdnyakov
Modified: 2013-05-08 08:08 PDT (History)
5 users (show)

See Also:


Attachments
patch (1.37 KB, patch)
2013-05-08 06:58 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-05-08 06:53:29 PDT
HashTraits<RefPtr<P> >::peek should consider empty value which is raw pointer equal to 0, and return it right away instead of converting it to RefPtr and invoking get().
Comment 1 Mikhail Pozdnyakov 2013-05-08 06:58:13 PDT
Created attachment 201070 [details]
patch
Comment 2 WebKit Commit Bot 2013-05-08 08:08:09 PDT
Comment on attachment 201070 [details]
patch

Clearing flags on attachment: 201070

Committed r149739: <http://trac.webkit.org/changeset/149739>
Comment 3 WebKit Commit Bot 2013-05-08 08:08:11 PDT
All reviewed patches have been landed.  Closing bug.