-
Gyuyoung Kim authored
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/media{_controls, capturefromelement, recorder, session, source, stream}, then this CL makes the callers use MakeGarbageCollected<Foo> instead of Foo::Create() factory functions. Additionally, this CL removed Foo::Create() in modules/installedapp as well. [1] https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/iJ1bawbxbWs/vEdfT5QtBgAJ Bug: 939691 Change-Id: Ibcfcd52bc8895fe2ca3eae146cc2b7a5083dfc85 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1556957Reviewed-by:
Kentaro Hara <haraken@chromium.org> Commit-Queue: Gyuyoung Kim <gyuyoung@igalia.com> Cr-Commit-Position: refs/heads/master@{#648586}
dfcfa932