Do not use interface pointers in ScenicSurfaceFactory

OzonePlatformScenic used to own a mojom::ScenicGpuHostPtr, but it
was actually only used to initialize other objects. Instead, we moved
ownership of this object to ScenicSurfaceFactory.

Bug: 955171
Change-Id: Iad1bd211e543c663faab050b488578311a0b232a
Reviewed-by: Oksana Zhuravlova <>
Reviewed-by: Michael Spang <>
Reviewed-by: Daniel Cheng <>
Commit-Queue: Jacobo Aragunde Pérez <>
Cr-Commit-Position: refs/heads/master@{#710706}
3 files changed