Remove unused file picture_serializer. (flutter/engine#6179)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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
|
||||
@@ -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_
|
||||
Reference in New Issue
Block a user