diff options
author | 2012-08-23 18:09:54 +0000 | |
---|---|---|
committer | 2012-08-23 18:09:54 +0000 | |
commit | fbfcd5602128ec010c82cb733c9cdc0a3254f9f3 (patch) | |
tree | d8b4815d15946c32ee9d254e932411e93be942bb /include/utils/win | |
parent | 2abed834789bb64c7da740df4c47efc142b7311a (diff) |
Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/)
This CL is part I of IV (I broke down the 1280 files into 4 CLs).
Review URL: https://codereview.appspot.com/6485054
git-svn-id: http://skia.googlecode.com/svn/trunk@5262 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/utils/win')
-rw-r--r-- | include/utils/win/SkIStream.h | 12 | ||||
-rw-r--r-- | include/utils/win/SkTScopedComPtr.h | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/include/utils/win/SkIStream.h b/include/utils/win/SkIStream.h index b7d09493da..e4e045c988 100644 --- a/include/utils/win/SkIStream.h +++ b/include/utils/win/SkIStream.h @@ -46,24 +46,24 @@ public: // IStream Interface public: virtual HRESULT STDMETHODCALLTYPE SetSize(ULARGE_INTEGER); - + virtual HRESULT STDMETHODCALLTYPE CopyTo(IStream* , ULARGE_INTEGER , ULARGE_INTEGER* , ULARGE_INTEGER*); - + virtual HRESULT STDMETHODCALLTYPE Commit(DWORD); - + virtual HRESULT STDMETHODCALLTYPE Revert(void); - + virtual HRESULT STDMETHODCALLTYPE LockRegion(ULARGE_INTEGER , ULARGE_INTEGER , DWORD); - + virtual HRESULT STDMETHODCALLTYPE UnlockRegion(ULARGE_INTEGER , ULARGE_INTEGER , DWORD); - + virtual HRESULT STDMETHODCALLTYPE Clone(IStream **); virtual HRESULT STDMETHODCALLTYPE Seek(LARGE_INTEGER liDistanceToMove diff --git a/include/utils/win/SkTScopedComPtr.h b/include/utils/win/SkTScopedComPtr.h index 14aace5440..85c314a97a 100644 --- a/include/utils/win/SkTScopedComPtr.h +++ b/include/utils/win/SkTScopedComPtr.h @@ -47,13 +47,13 @@ public: this->fPtr = NULL; } } - + void swap(SkTScopedComPtr<T>& that) { T* temp = this->fPtr; this->fPtr = that.fPtr; that.fPtr = temp; } - + T* release() { T* temp = this->fPtr; this->fPtr = NULL; |