@@ -74,7 +74,7 @@ TEST(RasterCache, HighPriorityIsRespectedForSkPicture) {
7474 // Prepare should cache it when 1st access.
7575 ASSERT_TRUE (cache.Prepare (&preroll_context_holder.preroll_context ,
7676 picture.get (), true , false , matrix, SkPoint (),
77- /* *is_high_priority =*/ true ));
77+ /* *is_complex =*/ true ));
7878 ASSERT_TRUE (cache.Draw (*picture, dummy_canvas));
7979}
8080
@@ -177,7 +177,7 @@ TEST(RasterCache, HighPriorityIsRespectedForDisplayList) {
177177 // Prepare should cache it when 1st access.
178178 ASSERT_TRUE (cache.Prepare (&preroll_context_holder.preroll_context ,
179179 display_list.get (), true , false , matrix, SkPoint (),
180- /* *is_high_priority =*/ true ));
180+ /* *is_complex =*/ true ));
181181 ASSERT_TRUE (cache.Draw (*display_list, dummy_canvas));
182182}
183183
@@ -354,7 +354,7 @@ TEST(RasterCache, KeepUnusedSkPicturesIfIsHighPriority) {
354354
355355 ASSERT_TRUE (cache.Prepare (&preroll_context_holder.preroll_context ,
356356 picture.get (), true , false , matrix, SkPoint (),
357- /* *is_high_priority =*/ true ));
357+ /* *is_complex =*/ true ));
358358 ASSERT_TRUE (cache.Draw (*picture, dummy_canvas));
359359
360360 cache.CleanupAfterFrame ();
@@ -397,7 +397,7 @@ TEST(RasterCache, KeepUnusedDisplayListsIfIsHighPriority) {
397397
398398 ASSERT_TRUE (cache.Prepare (&preroll_context_holder.preroll_context ,
399399 display_list.get (), true , false , matrix, SkPoint (),
400- /* *is_high_priority =*/ true ));
400+ /* *is_complex =*/ true ));
401401 ASSERT_TRUE (cache.Draw (*display_list, dummy_canvas));
402402
403403 cache.CleanupAfterFrame ();
0 commit comments