summaryrefslogtreecommitdiff
path: root/core/fxge/skia
diff options
context:
space:
mode:
authorNicolas Pena <npm@chromium.org>2017-05-08 15:08:12 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-05-08 19:50:11 +0000
commit615bb96eb26570fd87004e2fa6f42eca0dbf79cd (patch)
treea2e2ece53fcaa41c5670ac7e7afd706373f2078f /core/fxge/skia
parent852fb12d554abbbda65bbbf3720117a0aad5a9c9 (diff)
downloadpdfium-615bb96eb26570fd87004e2fa6f42eca0dbf79cd.tar.xz
Remove default params in CFX_DIBSource
Change-Id: I9306afed2747e3b0054adeea1d39916cac47f5c5 Reviewed-on: https://pdfium-review.googlesource.com/5091 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fxge/skia')
-rw-r--r--core/fxge/skia/fx_skia_device.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/fxge/skia/fx_skia_device.cpp b/core/fxge/skia/fx_skia_device.cpp
index 46e284d8aa..3ca022b706 100644
--- a/core/fxge/skia/fx_skia_device.cpp
+++ b/core/fxge/skia/fx_skia_device.cpp
@@ -262,13 +262,13 @@ static void DebugValidate(const CFX_RetainPtr<CFX_DIBitmap>& bitmap,
if (bitmap) {
SkASSERT(bitmap->GetBPP() == 8 || bitmap->GetBPP() == 32);
if (bitmap->GetBPP() == 32) {
- bitmap->DebugVerifyBitmapIsPreMultiplied();
+ bitmap->DebugVerifyBitmapIsPreMultiplied(nullptr);
}
}
if (device) {
SkASSERT(device->GetBPP() == 8 || device->GetBPP() == 32);
if (device->GetBPP() == 32) {
- device->DebugVerifyBitmapIsPreMultiplied();
+ device->DebugVerifyBitmapIsPreMultiplied(nullptr);
}
}
}
@@ -2224,7 +2224,7 @@ void CFX_DIBitmap::PreMultiply() {
SkImageInfo::Make(width, height, kN32_SkColorType, kPremul_SkAlphaType);
SkPixmap premultiplied(premultipliedInfo, buffer, rowBytes);
unpremultiplied.readPixels(premultiplied);
- this->DebugVerifyBitmapIsPreMultiplied();
+ this->DebugVerifyBitmapIsPreMultiplied(nullptr);
}
#ifdef _SKIA_SUPPORT_PATHS_
@@ -2238,7 +2238,7 @@ void CFX_DIBitmap::UnPreMultiply() {
m_nFormat = Format::kUnPreMultiplied;
if (priorFormat != Format::kPreMultiplied)
return;
- this->DebugVerifyBitmapIsPreMultiplied();
+ this->DebugVerifyBitmapIsPreMultiplied(nullptr);
int height = this->GetHeight();
int width = this->GetWidth();
int rowBytes = this->GetPitch();
@@ -2327,7 +2327,7 @@ void CFX_SkiaDeviceDriver::Dump() const {
#ifdef _SKIA_SUPPORT_
void CFX_SkiaDeviceDriver::DebugVerifyBitmapIsPreMultiplied() const {
if (m_pOriDevice)
- m_pOriDevice->DebugVerifyBitmapIsPreMultiplied();
+ m_pOriDevice->DebugVerifyBitmapIsPreMultiplied(nullptr);
}
#endif // _SKIA_SUPPORT_