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 |