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

Unified Diff: cc/test/fake_display_list_recording_source.h

Issue 1512823002: Serialize DisplayListRecordingSource to protos. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test refactor bugs Created 5 years 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_display_list_recording_source.h
diff --git a/cc/test/fake_display_list_recording_source.h b/cc/test/fake_display_list_recording_source.h
index f8e3cc17c07927b12857cce84cd7452a824a1ffb..e55673d98fa7dcb74bdc9697495517116c64837f 100644
--- a/cc/test/fake_display_list_recording_source.h
+++ b/cc/test/fake_display_list_recording_source.h
@@ -48,6 +48,10 @@ class FakeDisplayListRecordingSource : public DisplayListRecordingSource {
bool can_use_lcd) const override;
bool IsSuitableForGpuRasterization() const override;
+ void SetDisplayListUsesCachedPicture(bool use_cached_picture) {
+ client_.set_display_list_use_cached_picture(use_cached_picture);
+ }
+
void SetRecordedViewport(const gfx::Rect& recorded_viewport) {
recorded_viewport_ = recorded_viewport;
}
« cc/playback/display_list_recording_source_unittest.cc ('K') | « cc/test/fake_content_layer_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698