commit | 7471fa4920a3573afcf6e2d94722e73d3d9b12a7 | [log] [tgz] |
---|---|---|
author | caryclark <caryclark@google.com> | Wed Dec 16 13:41:23 2015 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Wed Dec 16 13:41:23 2015 -0800 |
tree | 62b0a14f5349e23aad6e78d6b9ab8cd7ed6fc29c | |
parent | 64673afe1a25ddd2d82d955ff7d9f7b3e026205f [diff] [blame] |
add fsync to try to get complete skps from webpage picture capture R=reed@google.com,mtklein@google.com BUG=skia:4691 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1530783003 Review URL: https://codereview.chromium.org/1530783003
diff --git a/include/core/SkStream.h b/include/core/SkStream.h index 44de6e8..4502416 100644 --- a/include/core/SkStream.h +++ b/include/core/SkStream.h
@@ -360,6 +360,7 @@ bool write(const void* buffer, size_t size) override; void flush() override; + void fsync(); size_t bytesWritten() const override; private: