diff options
author | 2014-06-03 13:12:51 -0700 | |
---|---|---|
committer | 2014-06-03 13:12:51 -0700 | |
commit | 65044bfe021e9c0023d78080583e9acb3bdb5ce7 (patch) | |
tree | 79345f8bd3f3933cd1944745396558caa7b043a5 /tools/bug_chomper/templates/error.html | |
parent | 99ffe24200d8940ceba20f6fbf8c460f994d3cd1 (diff) |
Return NULL when building empty LayerRasterizer.
In SkLayerRasterizer::snapshotRasterizer() and ::detachRasterizer(),
if no layers have been added, do not attempt to create an
SkLayerRasterizer. Instead, return NULL.
This fixes an error when running tests on Android.
Update dox to state that NULL may be returned.
Add tests.
R=reed@google.com
Author: scroggo@google.com
Review URL: https://codereview.chromium.org/313653006
Diffstat (limited to 'tools/bug_chomper/templates/error.html')
0 files changed, 0 insertions, 0 deletions