Remove Create() methods which use MakeGarbageCollected<> in modules/netinfo
As advised in [1], this CL removes unnecessary Foo::Create() factory functions which return an instance created by MakeGarbageCollected<Foo> in //third_party/blink/renderer/modules/netinfo, then this CL makes the callers use MakeGarbageCollected<Foo> instead of Foo::Create() factory functions. [1] https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/iJ1bawbxbWs/vEdfT5QtBgAJ Bug: 939691 Change-Id: Ica09e05246b9a8e830498c4fb2c5be5d836d59b1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1556958Reviewed-by:Kentaro Hara <haraken@chromium.org> Commit-Queue: Gyuyoung Kim <gyuyoung@igalia.com> Cr-Commit-Position: refs/heads/master@{#648583}
Showing
Please register or sign in to comment