diff options
author | halcanary <halcanary@google.com> | 2015-08-19 12:26:46 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-19 12:26:46 -0700 |
commit | a060eba0836f98902ca078d5f9fc6191ba0c0a52 (patch) | |
tree | e7ea42436a780f5b85005da1bf511dd20a6bf1b0 /samplecode/SampleLighting.cpp | |
parent | 216b643fc77e754a3fabbb0ed397e7cf55d1954d (diff) |
SkPDF: Simplify PDFStream / emitObject() const
Compress SkPDFStream's data on setData(), not emitObject(); no longer stateful.
SkPDFObject::emitObject is now const. This makes it easier to reason about state.
Minimal performance gains.
Review URL: https://codereview.chromium.org/1304493002
Diffstat (limited to 'samplecode/SampleLighting.cpp')
0 files changed, 0 insertions, 0 deletions