| Index: cc/test/fake_recording_source.cc
|
| diff --git a/cc/test/fake_recording_source.cc b/cc/test/fake_recording_source.cc
|
| index 01e4fd01bb37dc1acc595503a1154d522efd1bfd..3daaf9af8877136c7693ea0b2607d2a7e0ae66ed 100644
|
| --- a/cc/test/fake_recording_source.cc
|
| +++ b/cc/test/fake_recording_source.cc
|
| @@ -28,13 +28,15 @@ scoped_refptr<RasterSource> FakeRecordingSource::CreateRasterSource(
|
| bool FakeRecordingSource::EqualsTo(const FakeRecordingSource& other) {
|
| // The DisplayItemLists are equal if they are both null or they are both not
|
| // null and render to the same thing.
|
| - bool display_lists_equal = !display_list_ && !other.display_list_;
|
| - if (display_list_ && other.display_list_) {
|
| + bool display_lists_equal =
|
| + !inputs_.display_list && !other.inputs_.display_list;
|
| + if (inputs_.display_list && other.inputs_.display_list) {
|
| display_lists_equal = AreDisplayListDrawingResultsSame(
|
| - recorded_viewport_, display_list_.get(), other.display_list_.get());
|
| + inputs_.recorded_viewport, inputs_.display_list.get(),
|
| + other.inputs_.display_list.get());
|
| }
|
|
|
| - return recorded_viewport_ == other.recorded_viewport_ &&
|
| + return inputs_.recorded_viewport == other.inputs_.recorded_viewport &&
|
| size_ == other.size_ &&
|
| slow_down_raster_scale_factor_for_debug_ ==
|
| other.slow_down_raster_scale_factor_for_debug_ &&
|
|
|