Bug 115569 - Use NotNull tag for placement new in WebCore.
Summary: Use NotNull tag for placement new in WebCore.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Andreas Kling
URL:
Keywords: Performance
Depends on:
Blocks:
 
Reported: 2013-05-03 12:22 PDT by Andreas Kling
Modified: 2013-05-03 12:30 PDT (History)
7 users (show)

See Also:


Attachments
Patch (7.63 KB, patch)
2013-05-03 12:23 PDT, Andreas Kling
koivisto: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kling 2013-05-03 12:22:34 PDT
"new (&foo) Bar;" is silly, we don't need to null check &foo. Let's use NotNull tags where we know everything's okay.
Comment 1 Andreas Kling 2013-05-03 12:23:52 PDT
Created attachment 200458 [details]
Patch
Comment 2 Antti Koivisto 2013-05-03 12:25:33 PDT
Comment on attachment 200458 [details]
Patch

r=me
Comment 3 Andreas Kling 2013-05-03 12:30:23 PDT
Committed r149529: <http://trac.webkit.org/changeset/149529>