diff --git a/ci/licenses_golden/licenses_flutter b/ci/licenses_golden/licenses_flutter index 813bdff51f800..62c4bcd7b2671 100644 --- a/ci/licenses_golden/licenses_flutter +++ b/ci/licenses_golden/licenses_flutter @@ -819,8 +819,6 @@ FILE: ../../../flutter/shell/common/animator.cc FILE: ../../../flutter/shell/common/animator.h FILE: ../../../flutter/shell/common/engine.cc FILE: ../../../flutter/shell/common/engine.h -FILE: ../../../flutter/shell/common/picture_serializer.cc -FILE: ../../../flutter/shell/common/picture_serializer.h FILE: ../../../flutter/shell/common/platform_view.cc FILE: ../../../flutter/shell/common/platform_view.h FILE: ../../../flutter/shell/common/rasterizer.cc diff --git a/shell/common/BUILD.gn b/shell/common/BUILD.gn index 0091d5bf02361..db0b6dd43e975 100644 --- a/shell/common/BUILD.gn +++ b/shell/common/BUILD.gn @@ -67,8 +67,6 @@ source_set("common") { "io_manager.h", "isolate_configuration.cc", "isolate_configuration.h", - "picture_serializer.cc", - "picture_serializer.h", "platform_view.cc", "platform_view.h", "rasterizer.cc", diff --git a/shell/common/picture_serializer.cc b/shell/common/picture_serializer.cc deleted file mode 100644 index b62e96d74f0a1..0000000000000 --- a/shell/common/picture_serializer.cc +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright 2015 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#include "flutter/shell/common/picture_serializer.h" - -#include "third_party/skia/include/core/SkStream.h" - -namespace shell { - -void SerializePicture(const std::string& path, SkPicture* picture) { - SkFILEWStream stream(path.c_str()); - picture->serialize(&stream); -} - -} // namespace shell diff --git a/shell/common/picture_serializer.h b/shell/common/picture_serializer.h deleted file mode 100644 index 0416b2f0c6277..0000000000000 --- a/shell/common/picture_serializer.h +++ /dev/null @@ -1,18 +0,0 @@ -// Copyright 2015 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef SHELL_GPU_PICTURE_SERIALIZER_H_ -#define SHELL_GPU_PICTURE_SERIALIZER_H_ - -#include - -#include "third_party/skia/include/core/SkPicture.h" - -namespace shell { - -void SerializePicture(const std::string& path, SkPicture* picture); - -} // namespace shell - -#endif // SHELL_GPU_PICTURE_SERIALIZER_H_