Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Unified Diff: cc/debug/traced_display_item_list.cc

Issue 2747273002: cc: Remove AsValue virtual from DisplayItem. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/debug/traced_display_item_list.h ('k') | cc/playback/clip_display_item.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/debug/traced_display_item_list.cc
diff --git a/cc/debug/traced_display_item_list.cc b/cc/debug/traced_display_item_list.cc
deleted file mode 100644
index b02446e9cd46e6700c5636cf8a6ff5f182c80689..0000000000000000000000000000000000000000
--- a/cc/debug/traced_display_item_list.cc
+++ /dev/null
@@ -1,27 +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 "cc/debug/traced_display_item_list.h"
-
-#include "base/json/json_writer.h"
-#include "cc/debug/traced_value.h"
-#include "cc/playback/display_item_list.h"
-
-namespace cc {
-
-TracedDisplayItemList::TracedDisplayItemList(
- scoped_refptr<const DisplayItemList> list,
- bool include_items)
- : display_item_list_(list), include_items_(include_items) {
-}
-
-TracedDisplayItemList::~TracedDisplayItemList() {
-}
-
-void TracedDisplayItemList::AppendAsTraceFormat(std::string* out) const {
- std::unique_ptr<base::trace_event::ConvertableToTraceFormat> convertable(
- display_item_list_->AsValue(include_items_));
- convertable->AppendAsTraceFormat(out);
-}
-
-} // namespace cc
« no previous file with comments | « cc/debug/traced_display_item_list.h ('k') | cc/playback/clip_display_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698