| Index: cc/output/bsp_tree.cc
|
| diff --git a/cc/output/bsp_tree.cc b/cc/output/bsp_tree.cc
|
| index f24e99bb3b35e50b8f1eb07394e7cca14e999aea..6f0b99ea204b236f0777fa54a5e2bd7b42a376fc 100644
|
| --- a/cc/output/bsp_tree.cc
|
| +++ b/cc/output/bsp_tree.cc
|
| @@ -13,8 +13,7 @@
|
|
|
| namespace cc {
|
|
|
| -BspNode::BspNode(scoped_ptr<DrawPolygon> data) : node_data(data.Pass()) {
|
| -}
|
| +BspNode::BspNode(scoped_ptr<DrawPolygon> data) : node_data(std::move(data)) {}
|
|
|
| BspNode::~BspNode() {
|
| }
|
| @@ -69,8 +68,8 @@ void BspTree::BuildTree(BspNode* node,
|
| if (!split_result) {
|
| break;
|
| }
|
| - front_list.push_back(new_front.Pass());
|
| - back_list.push_back(new_back.Pass());
|
| + front_list.push_back(std::move(new_front));
|
| + back_list.push_back(std::move(new_back));
|
| break;
|
| }
|
| case BSP_COPLANAR_FRONT:
|
|
|