Update Skia (#2704)

This commit is contained in:
Adam Barth
2016-05-23 13:48:18 -07:00
parent 522ba7c48f
commit 67141e8ea2
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ static const int kRasterThreshold = 3;
static bool isWorthRasterizing(SkPicture* picture) {
// 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.
return picture->approximateOpCount() > 10 || picture->hasText();
return picture->approximateOpCount() > 10;
}
#endif