// Copyright 2015 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "cc/debug/picture_debug_util.h" #include <stddef.h> #include <limits> #include <memory> #include <string_view> #include <vector> #include "base/base64.h" #include "third_party/skia/include/core/SkData.h" #include "third_party/skia/include/core/SkPicture.h" #include "third_party/skia/include/core/SkSerialProcs.h" #include "third_party/skia/include/encode/SkPngEncoder.h" namespace cc { void PictureDebugUtil::SerializeAsBase64(const SkPicture* picture, std::string* output) { … } } // namespace cc