• Bo Liu's avatar
    aw: Prepare skia dependnecy for viz · e9fa52e0
    Bo Liu authored
    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: default avatarEric Karl <ericrk@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#683800}
    e9fa52e0
BUILD.gn 2.29 KB