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

Unified Diff: cc/test/fake_display_list_recording_source.h

Issue 1349913002: Cache gpu suitability in DisplayItemList, remove SetUnsuitable...ForTesting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update LayerTreeHostTestGpuRasterizationDefault Created 5 years, 3 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_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 6cb3b190b2deb55c6bcbf0b1bcb198992c9fb014..3585a7e781c60245f8d5f40781220c9c45d1564d 100644
--- a/cc/test/fake_display_list_recording_source.h
+++ b/cc/test/fake_display_list_recording_source.h
@@ -95,7 +95,9 @@ class FakeDisplayListRecordingSource : public DisplayListRecordingSource {
}
bool IsSuitableForGpuRasterization() const override;
- void SetUnsuitableForGpuRasterizationForTesting() override;
+ void SetUnsuitableForGpuRasterization() {
+ force_unsuitable_for_gpu_rasterization_ = true;
+ }
private:
FakeContentLayerClient client_;

Powered by Google App Engine
This is Rietveld 408576698