Commit 16cf5769 authored by Sadrul Habib Chowdhury's avatar Sadrul Habib Chowdhury Committed by Commit Bot

cc: Remove dead code.

Delete some TilePriority-related dead debug code.

BUG=none

Change-Id: Ia1a9fa25c6bf2fa9546084a56291c9c3574a20f2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2231508
Commit-Queue: vmpstr <vmpstr@chromium.org>
Auto-Submit: Sadrul Chowdhury <sadrul@chromium.org>
Reviewed-by: default avatarvmpstr <vmpstr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#776067}
parent bbf99d71
...@@ -11,18 +11,6 @@ ...@@ -11,18 +11,6 @@
namespace cc { namespace cc {
std::string WhichTreeToString(WhichTree tree) {
switch (tree) {
case ACTIVE_TREE:
return "ACTIVE_TREE";
case PENDING_TREE:
return "PENDING_TREE";
default:
DCHECK(false) << "Unrecognized WhichTree value " << tree;
return "<unknown WhichTree value>";
}
}
std::string TileResolutionToString(TileResolution resolution) { std::string TileResolutionToString(TileResolution resolution) {
switch (resolution) { switch (resolution) {
case LOW_RESOLUTION: case LOW_RESOLUTION:
......
...@@ -16,10 +16,6 @@ ...@@ -16,10 +16,6 @@
#include "cc/cc_export.h" #include "cc/cc_export.h"
#include "third_party/perfetto/protos/perfetto/trace/track_event/chrome_compositor_scheduler_state.pbzero.h" #include "third_party/perfetto/protos/perfetto/trace/track_event/chrome_compositor_scheduler_state.pbzero.h"
namespace base {
class Value;
}
namespace cc { namespace cc {
enum WhichTree { enum WhichTree {
...@@ -28,9 +24,7 @@ enum WhichTree { ...@@ -28,9 +24,7 @@ enum WhichTree {
ACTIVE_TREE = 0, ACTIVE_TREE = 0,
PENDING_TREE = 1, PENDING_TREE = 1,
LAST_TREE = 1 LAST_TREE = 1
// Be sure to update WhichTreeAsValue when adding new fields.
}; };
std::unique_ptr<base::Value> WhichTreeAsValue(WhichTree tree);
enum TileResolution { enum TileResolution {
LOW_RESOLUTION = 0 , LOW_RESOLUTION = 0 ,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment