commit | 3941c4781bd0d88283d671805ed22283e49b163d | [log] [tgz] |
---|---|---|
author | Gyuyoung Kim <gyuyoung@igalia.com> | Fri Mar 15 11:52:50 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Mar 15 11:52:50 2019 |
tree | 4f9d4a125161ae30f5eff4083ce35eda97616bf4 | |
parent | bf60ea0026156b48884edd4817ef17c54cbb31f9 [diff] |
Remove BlobData::Create() in blink As advised in [1], this CL removes unnecessary BlobData::Create() in //third_party/blink/renderer/ and make it's constructors public, then make the callers use std::make_unique<BlobData> instead of their Create() factory function. Additionally this CL makes to use auto keyword when creating a local variable by using std::make_unique<BlobData> because it's clear the returned type is std::unique_ptr. [1] https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/iJ1bawbxbWs/vEdfT5QtBgAJ Bug: 939691 Change-Id: Id5800e816128f640f79e1c422ff0b98a57798e89 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1525786 Reviewed-by: Kentaro Hara <haraken@chromium.org> Commit-Queue: Gyuyoung Kim <gyuyoung@igalia.com> Cr-Commit-Position: refs/heads/master@{#641155}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .