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

Unified Diff: cc/test/fake_display_list_recording_source.cc

Issue 1362663002: cc: Remove PicturePile and PicturePileImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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.cc
diff --git a/cc/test/fake_display_list_recording_source.cc b/cc/test/fake_display_list_recording_source.cc
index 816343815508d55e86be3edbd7b77492ef42fceb..6bfb7f2c9d40ea7f69eaffca92d85403a4da6e90 100644
--- a/cc/test/fake_display_list_recording_source.cc
+++ b/cc/test/fake_display_list_recording_source.cc
@@ -4,6 +4,8 @@
#include "cc/test/fake_display_list_recording_source.h"
+#include "cc/test/fake_display_list_raster_source.h"
+
namespace cc {
bool FakeDisplayListRecordingSource::IsSuitableForGpuRasterization() const {
@@ -12,4 +14,10 @@ bool FakeDisplayListRecordingSource::IsSuitableForGpuRasterization() const {
return DisplayListRecordingSource::IsSuitableForGpuRasterization();
}
+scoped_refptr<RasterSource> FakeDisplayListRecordingSource::CreateRasterSource(
+ bool can_use_lcd) const {
+ return FakeDisplayListRasterSource::CreateFromRecordingSourceWithWaitable(
+ this, can_use_lcd, playback_allowed_event_);
+}
+
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698