Bug 141901 - Remove unnecessary PlatformTimeRanges::create()
Summary: Remove unnecessary PlatformTimeRanges::create()
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: Gyuyoung Kim
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-23 02:07 PST by Gyuyoung Kim
Modified: 2015-02-23 18:55 PST (History)
3 users (show)

See Also:


Attachments
Patch (15.88 KB, patch)
2015-02-23 02:08 PST, Gyuyoung Kim
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gyuyoung Kim 2015-02-23 02:07:06 PST
As mentioned in https://bugs.webkit.org/show_bug.cgi?id=139019#c12, PlatformTimeRanges::create() functions have just created an instance of PlatformTimeRanges. Even PlatformTimeRanges supports create() factory function as well as public constructor. This functionality can be replaced with std::make_unique<> use directly.
Comment 1 Gyuyoung Kim 2015-02-23 02:08:35 PST
Created attachment 247108 [details]
Patch
Comment 2 WebKit Commit Bot 2015-02-23 16:25:05 PST
Comment on attachment 247108 [details]
Patch

Clearing flags on attachment: 247108

Committed r180532: <http://trac.webkit.org/changeset/180532>
Comment 3 WebKit Commit Bot 2015-02-23 16:25:09 PST
All reviewed patches have been landed.  Closing bug.
Comment 4 Alex Christensen 2015-02-23 18:55:16 PST
Fixed typo in http://trac.webkit.org/changeset/180541