Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(918)

Unified Diff: cc/test/fake_picture_layer.h

Issue 19106007: cc: Allow the main thread to cancel commits (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix scheduler tests Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/test/fake_picture_layer.h
diff --git a/cc/test/fake_picture_layer.h b/cc/test/fake_picture_layer.h
index b5b81de1d7a6b6f0e522013a6dabaf84970180e9..26bcede042063cbfe8c804ab62ff7c58badaa7f4 100644
--- a/cc/test/fake_picture_layer.h
+++ b/cc/test/fake_picture_layer.h
@@ -26,6 +26,10 @@ class FakePictureLayer : public PictureLayer {
size_t push_properties_count() const { return push_properties_count_; }
void reset_push_properties_count() { push_properties_count_ = 0; }
+ void set_always_update_resources(bool always_update) {
+ always_update_ = always_update;
+ }
+
virtual bool Update(
ResourceUpdateQueue* queue,
const OcclusionTracker* occlusion) OVERRIDE;
@@ -38,6 +42,7 @@ class FakePictureLayer : public PictureLayer {
size_t update_count_;
size_t push_properties_count_;
+ bool always_update_;
danakj 2013/07/17 20:53:24 nit: always_update_resources_ (match the function)
enne (OOO) 2013/07/18 17:36:37 Done.
};
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698