| Index: cc/playback/drawing_display_item.cc
|
| diff --git a/cc/playback/drawing_display_item.cc b/cc/playback/drawing_display_item.cc
|
| deleted file mode 100644
|
| index 989f85689082ad814a82402f5eefa0bf85709db2..0000000000000000000000000000000000000000
|
| --- a/cc/playback/drawing_display_item.cc
|
| +++ /dev/null
|
| @@ -1,30 +0,0 @@
|
| -// Copyright 2014 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 "cc/playback/drawing_display_item.h"
|
| -
|
| -#include "third_party/skia/include/core/SkPicture.h"
|
| -
|
| -namespace cc {
|
| -
|
| -DrawingDisplayItem::DrawingDisplayItem() : DisplayItem(DRAWING) {}
|
| -
|
| -DrawingDisplayItem::DrawingDisplayItem(sk_sp<const PaintRecord> record)
|
| - : DisplayItem(DRAWING), picture(std::move(record)) {}
|
| -
|
| -DrawingDisplayItem::DrawingDisplayItem(const DrawingDisplayItem& item)
|
| - : DisplayItem(DRAWING), picture(item.picture) {}
|
| -
|
| -DrawingDisplayItem::~DrawingDisplayItem() = default;
|
| -
|
| -size_t DrawingDisplayItem::ExternalMemoryUsage() const {
|
| - return picture->approximateBytesUsed();
|
| -}
|
| -
|
| -DISABLE_CFI_PERF
|
| -int DrawingDisplayItem::ApproximateOpCount() const {
|
| - return picture->approximateOpCount();
|
| -}
|
| -
|
| -} // namespace cc
|
|
|