| Index: cc/layers/layer_position_constraint.cc
|
| diff --git a/cc/layers/layer_position_constraint.cc b/cc/layers/layer_position_constraint.cc
|
| index 5d8824e24213b68658a66d176fadfb8246c32c5e..183b6b5b53e90aa2b3562e6d96bea0b56b387e98 100644
|
| --- a/cc/layers/layer_position_constraint.cc
|
| +++ b/cc/layers/layer_position_constraint.cc
|
| @@ -3,7 +3,6 @@
|
| // found in the LICENSE file.
|
|
|
| #include "cc/layers/layer_position_constraint.h"
|
| -#include "cc/proto/layer_position_constraint.pb.h"
|
|
|
| namespace cc {
|
|
|
| @@ -13,20 +12,6 @@ LayerPositionConstraint::LayerPositionConstraint()
|
| is_fixed_to_bottom_edge_(false) {
|
| }
|
|
|
| -void LayerPositionConstraint::ToProtobuf(
|
| - proto::LayerPositionConstraint* proto) const {
|
| - proto->set_is_fixed_position(is_fixed_position_);
|
| - proto->set_is_fixed_to_right_edge(is_fixed_to_right_edge_);
|
| - proto->set_is_fixed_to_bottom_edge(is_fixed_to_bottom_edge_);
|
| -}
|
| -
|
| -void LayerPositionConstraint::FromProtobuf(
|
| - const proto::LayerPositionConstraint& proto) {
|
| - is_fixed_position_ = proto.is_fixed_position();
|
| - is_fixed_to_right_edge_ = proto.is_fixed_to_right_edge();
|
| - is_fixed_to_bottom_edge_ = proto.is_fixed_to_bottom_edge();
|
| -}
|
| -
|
| bool LayerPositionConstraint::operator==(
|
| const LayerPositionConstraint& other) const {
|
| if (!is_fixed_position_ && !other.is_fixed_position_)
|
|
|