summaryrefslogtreecommitdiff
path: root/core/fxge/win32/fx_win32_gdipext.cpp
diff options
context:
space:
mode:
authorweili <weili@chromium.org>2016-06-20 11:37:05 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-20 11:37:05 -0700
commitbff506d3b5e03891c137d9fe18f65cae112ebf2a (patch)
treec7e45a164599bc5917d570576d24860d6a59c4e5 /core/fxge/win32/fx_win32_gdipext.cpp
parent338a6b75994eb148d429b7abccfffaf7ae9f9b55 (diff)
downloadpdfium-bff506d3b5e03891c137d9fe18f65cae112ebf2a.tar.xz
Change func(void) to func()
Since PDFium is compiled as C++ code, the void keyword is not needed. BUG=pdfium:519 Review-Url: https://codereview.chromium.org/2084603003
Diffstat (limited to 'core/fxge/win32/fx_win32_gdipext.cpp')
-rw-r--r--core/fxge/win32/fx_win32_gdipext.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/fxge/win32/fx_win32_gdipext.cpp b/core/fxge/win32/fx_win32_gdipext.cpp
index 3de1b5a8d5..8acf23b22a 100644
--- a/core/fxge/win32/fx_win32_gdipext.cpp
+++ b/core/fxge/win32/fx_win32_gdipext.cpp
@@ -1274,10 +1274,10 @@ class GpStream final : public IStream {
}
return E_NOINTERFACE;
}
- ULONG STDMETHODCALLTYPE AddRef(void) override {
+ ULONG STDMETHODCALLTYPE AddRef() override {
return (ULONG)InterlockedIncrement(&m_RefCount);
}
- ULONG STDMETHODCALLTYPE Release(void) override {
+ ULONG STDMETHODCALLTYPE Release() override {
ULONG res = (ULONG)InterlockedDecrement(&m_RefCount);
if (res == 0) {
delete this;
@@ -1333,7 +1333,7 @@ class GpStream final : public IStream {
return E_NOTIMPL;
}
HRESULT STDMETHODCALLTYPE Commit(DWORD) override { return E_NOTIMPL; }
- HRESULT STDMETHODCALLTYPE Revert(void) override { return E_NOTIMPL; }
+ HRESULT STDMETHODCALLTYPE Revert() override { return E_NOTIMPL; }
HRESULT STDMETHODCALLTYPE LockRegion(ULARGE_INTEGER,
ULARGE_INTEGER,
DWORD) override {