aw: Prepare skia dependnecy for viz
Move SkiaOutputSurfaceDependencyWebView into its own cc/h files, so it can be shared easily with the new viz code path. Also only hold raw pointers instead of scoped_refptr to objects, since those objects may not be thread safe, and DependencyWebView may not be destroyed on render thread. Re-order header declaration order so that viz classes are destroyed before the raw pointer dependencies. Bug: 805739 Change-Id: I06aaecc3aa41a24ae468890f0329499a0723559b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1732744 Commit-Queue: Bo <boliu@chromium.org> Reviewed-by:Eric Karl <ericrk@chromium.org> Cr-Commit-Position: refs/heads/master@{#683800}
Showing
Please register or sign in to comment