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

2
DEPS
View File

@@ -21,7 +21,7 @@ vars = {
'chromium_git': 'https://chromium.googlesource.com',
'mojo_sdk_revision': '55352570f8c52ca1282dcfa26a4a32adc08495d6',
'base_revision': '672b04e54b937ec899429a6bd5409c5a6300d151',
'skia_revision': '3ccf2e75ed92adb3c2c289e0cb95901d162df394',
'skia_revision': '8cc209111876b7c78b5ec577c9221d8ed5e21024',
# Note: When updating the Dart revision, ensure that all entries that are
# dependencies of dart are also updated

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