Index: cc/animation/element_id.cc |
diff --git a/cc/animation/element_id.cc b/cc/animation/element_id.cc |
index 242cd32e621e37a9fb844d567dbc0f0a1c026410..4b6e6e6f733cb435a88fe32aef388ed539ac0a13 100644 |
--- a/cc/animation/element_id.cc |
+++ b/cc/animation/element_id.cc |
@@ -9,7 +9,6 @@ |
#include "base/trace_event/trace_event_argument.h" |
#include "base/values.h" |
-#include "cc/proto/element_id.pb.h" |
namespace cc { |
@@ -46,16 +45,6 @@ std::unique_ptr<base::Value> ElementId::AsValue() const { |
return std::move(res); |
} |
-void ElementId::ToProtobuf(proto::ElementId* proto) const { |
- proto->set_primary_id(primaryId); |
- proto->set_secondary_id(secondaryId); |
-} |
- |
-void ElementId::FromProtobuf(const proto::ElementId& proto) { |
- primaryId = proto.primary_id(); |
- secondaryId = proto.secondary_id(); |
-} |
- |
size_t ElementIdHash::operator()(ElementId key) const { |
return base::HashInts(key.primaryId, key.secondaryId); |
} |