Index: cc/trees/proxy_common.cc |
diff --git a/cc/trees/proxy_common.cc b/cc/trees/proxy_common.cc |
index be80dd52733bdb89d75a53dc1db81e2a44dba1d4..ab9c87be5b6d060f7112312d705208939900a90d 100644 |
--- a/cc/trees/proxy_common.cc |
+++ b/cc/trees/proxy_common.cc |
@@ -4,7 +4,6 @@ |
#include "cc/trees/proxy_common.h" |
-#include "cc/proto/begin_main_frame_and_commit_state.pb.h" |
#include "cc/trees/layer_tree_host.h" |
namespace cc { |
@@ -13,23 +12,4 @@ BeginMainFrameAndCommitState::BeginMainFrameAndCommitState() {} |
BeginMainFrameAndCommitState::~BeginMainFrameAndCommitState() {} |
-void BeginMainFrameAndCommitState::ToProtobuf( |
- proto::BeginMainFrameAndCommitState* proto) const { |
- proto->set_begin_frame_id(begin_frame_id); |
- begin_frame_args.ToProtobuf(proto->mutable_begin_frame_args()); |
- scroll_info->ToProtobuf(proto->mutable_scroll_info()); |
- proto->set_memory_allocation_limit_bytes(memory_allocation_limit_bytes); |
- proto->set_evicted_ui_resources(evicted_ui_resources); |
-} |
- |
-void BeginMainFrameAndCommitState::FromProtobuf( |
- const proto::BeginMainFrameAndCommitState& proto) { |
- begin_frame_id = proto.begin_frame_id(); |
- begin_frame_args.FromProtobuf(proto.begin_frame_args()); |
- scroll_info.reset(new ScrollAndScaleSet()); |
- scroll_info->FromProtobuf(proto.scroll_info()); |
- memory_allocation_limit_bytes = proto.memory_allocation_limit_bytes(); |
- evicted_ui_resources = proto.evicted_ui_resources(); |
-} |
- |
} // namespace cc |