diff options
author | bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-08-01 20:41:53 +0000 |
---|---|---|
committer | bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-08-01 20:41:53 +0000 |
commit | 14fc32114b44433ee14b11b3fe7541ceec5d8b50 (patch) | |
tree | cab004c409dec083ee8e76baa838e526413cf54d /src/utils | |
parent | 955bb0751a0d48e47a341c7c0adda94977bc8170 (diff) |
Add Commit to SkWIStream.
http://codereview.appspot.com/4809069/
git-svn-id: http://skia.googlecode.com/svn/trunk@2017 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/win/SkIStream.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/utils/win/SkIStream.cpp b/src/utils/win/SkIStream.cpp index a857f40e7d..4d5cd7711e 100644 --- a/src/utils/win/SkIStream.cpp +++ b/src/utils/win/SkIStream.cpp @@ -241,6 +241,11 @@ HRESULT STDMETHODCALLTYPE SkWIStream::Write(void const* pv } // IStream Interface +HRESULT STDMETHODCALLTYPE SkWIStream::Commit(DWORD) { + this->fSkWStream->flush(); + return S_OK; +} + HRESULT STDMETHODCALLTYPE SkWIStream::Stat(STATSTG* pStatstg , DWORD grfStatFlag) { |