diff --git a/engine/src/flutter/display_list/display_list_complexity.cc b/engine/src/flutter/display_list/display_list_complexity.cc index c651125082..53cef3cea2 100644 --- a/engine/src/flutter/display_list/display_list_complexity.cc +++ b/engine/src/flutter/display_list/display_list_complexity.cc @@ -1,4 +1,3 @@ - // Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. diff --git a/engine/src/flutter/flow/raster_cache.cc b/engine/src/flutter/flow/raster_cache.cc index ab4f2a8ae4..3471f9ff80 100644 --- a/engine/src/flutter/flow/raster_cache.cc +++ b/engine/src/flutter/flow/raster_cache.cc @@ -111,7 +111,7 @@ static bool IsDisplayListWorthRasterizing( // TODO(abarth): We should find a better heuristic here that lets us avoid // wasting memory on trivial layers that are easy to re-rasterize every frame. - int complexity_score = complexity_calculator->compute(display_list); + unsigned int complexity_score = complexity_calculator->compute(display_list); return complexity_calculator->should_be_cached(complexity_score); }