Remove unused file picture_serializer. (flutter/engine#6179)

This commit is contained in:
Chinmay Garde
2018-09-05 19:45:55 -07:00
committed by GitHub
parent 98a4821c26
commit 046847225c
4 changed files with 0 additions and 38 deletions

View File

@@ -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

View File

@@ -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",

View File

@@ -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

View File

@@ -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 <string>
#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_