Index: cc/test/fake_picture_layer_impl.h |
diff --git a/cc/test/fake_picture_layer_impl.h b/cc/test/fake_picture_layer_impl.h |
index 97cbe24210a146182cc2023c984d6b4c403bcdf7..9ce0283e9b12c8604a7404070599ffe6c9ec9ebb 100644 |
--- a/cc/test/fake_picture_layer_impl.h |
+++ b/cc/test/fake_picture_layer_impl.h |
@@ -48,6 +48,10 @@ class FakePictureLayerImpl : public PictureLayerImpl { |
using PictureLayerImpl::MinimumContentsScale; |
using PictureLayerImpl::SanityCheckTilingState; |
+ void SetNeedsPostCommitInitialization() { |
+ needs_post_commit_initialization_ = true; |
+ } |
+ |
bool needs_post_commit_initialization() const { |
return needs_post_commit_initialization_; |
} |