Index: cc/picture_pile.cc |
diff --git a/cc/picture_pile.cc b/cc/picture_pile.cc |
index eab92c66e39ab46a072adca036e55fcfc5a9f8fe..21614815fc5543bc1c5a353d512360013999605a 100644 |
--- a/cc/picture_pile.cc |
+++ b/cc/picture_pile.cc |
@@ -52,7 +52,7 @@ void PicturePile::Update( |
class FullyContainedPredicate { |
public: |
- FullyContainedPredicate(gfx::Rect rect) : layer_rect_(rect) { } |
+ explicit FullyContainedPredicate(gfx::Rect rect) : layer_rect_(rect) { } |
bool operator()(const scoped_refptr<Picture>& picture) { |
return layer_rect_.Contains(picture->LayerRect()); |
} |