Index: cc/trees/tree_synchronizer_unittest.cc |
diff --git a/cc/trees/tree_synchronizer_unittest.cc b/cc/trees/tree_synchronizer_unittest.cc |
index ee66e9564d097a902cce0bbd6b6d3d2cec7a4971..c402afcc0d2ed36c5494b2dd9e0d63661025f2be 100644 |
--- a/cc/trees/tree_synchronizer_unittest.cc |
+++ b/cc/trees/tree_synchronizer_unittest.cc |
@@ -5,6 +5,7 @@ |
#include "cc/trees/tree_synchronizer.h" |
#include <algorithm> |
+#include <vector> |
#include "cc/animation/layer_animation_controller.h" |
#include "cc/layers/layer.h" |
@@ -62,7 +63,7 @@ class MockLayer : public Layer { |
} |
private: |
- MockLayer(std::vector<int>* layer_impl_destruction_list) |
+ explicit MockLayer(std::vector<int>* layer_impl_destruction_list) |
: Layer(), layer_impl_destruction_list_(layer_impl_destruction_list) {} |
virtual ~MockLayer() {} |