commit | 68de6e3525856f9475eb27d3fc808c7e339eead1 | [log] [tgz] |
---|---|---|
author | Kevin Lubick <kjlubick@google.com> | Fri Oct 13 11:19:03 2023 -0400 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Mon Oct 16 17:44:30 2023 +0000 |
tree | d227d4abc67357e05e28a12d7b56f6d17e989000 | |
parent | 675f088b9ac40837541db9ee05b17c702097a72b [diff] |
Move SkMultiPictureDocument functions into namespace in include/docs This "internal" file has been used by clients [1] [2], and doesn't expose any private types, so we should properly make it available. This is a requirement due to Bazel sandboxing and layer checking. Rather than dumping functions into the global namespace, this adds a SkMultiPictureDocument namespace with the necessary functions, to align with our more modern design principles. [1] https://source.chromium.org/chromium/chromium/src/+/main:printing/metafile_skia.cc;l=211;drc=610980924c853ea99afac1bc335509814a8fd540 [2] https://android.googlesource.com/platform/frameworks/base/+/0c175e28e5ca9b8056ab94c2281fa1354843e1c3/libs/hwui/pipeline/skia/SkiaPipeline.cpp#298 Change-Id: If05ed134d7b6be4c91dcc558022072a0e72553ce Bug: b/40045064 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/764971 Commit-Queue: Kevin Lubick <kjlubick@google.com> Reviewed-by: Ben Wagner <bungeman@google.com> Reviewed-by: Brian Osman <brianosman@google.com>