summaryrefslogtreecommitdiff
path: root/core/fpdfapi
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-05-09 18:40:03 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-05-10 17:07:54 +0000
commit6e10d000ce048e67d36358c768c8cdad747eec15 (patch)
tree81d5822c59806aa2bde55965a0542c9a6bc7898f /core/fpdfapi
parent8a6fdadccd2eedf332ae3a72f0149c1b40cb5bd9 (diff)
downloadpdfium-6e10d000ce048e67d36358c768c8cdad747eec15.tar.xz
Fix typos for the word start.
Change-Id: Ic602126dc5407fcbb56dca5ec43e1824a5ca55b6 Reviewed-on: https://pdfium-review.googlesource.com/5251 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fpdfapi')
-rw-r--r--core/fpdfapi/render/cpdf_dibsource.cpp6
-rw-r--r--core/fpdfapi/render/cpdf_dibsource.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/core/fpdfapi/render/cpdf_dibsource.cpp b/core/fpdfapi/render/cpdf_dibsource.cpp
index 3e00c8a23c..0b8c89551c 100644
--- a/core/fpdfapi/render/cpdf_dibsource.cpp
+++ b/core/fpdfapi/render/cpdf_dibsource.cpp
@@ -294,7 +294,7 @@ int CPDF_DIBSource::StartLoadDIBSource(CPDF_Document* pDoc,
return 0;
}
if (m_bHasMask) {
- StratLoadMask();
+ StartLoadMask();
}
return ret;
}
@@ -302,7 +302,7 @@ int CPDF_DIBSource::StartLoadDIBSource(CPDF_Document* pDoc,
return 0;
}
if (m_bHasMask) {
- ret = StratLoadMask();
+ ret = StartLoadMask();
}
if (ret == 2) {
return ret;
@@ -693,7 +693,7 @@ void CPDF_DIBSource::LoadJpxBitmap() {
m_bpc = 8;
}
-int CPDF_DIBSource::StratLoadMask() {
+int CPDF_DIBSource::StartLoadMask() {
m_MatteColor = 0XFFFFFFFF;
m_pMaskStream = m_pDict->GetStreamFor("SMask");
if (m_pMaskStream) {
diff --git a/core/fpdfapi/render/cpdf_dibsource.h b/core/fpdfapi/render/cpdf_dibsource.h
index f484f57d75..e9fc6c1132 100644
--- a/core/fpdfapi/render/cpdf_dibsource.h
+++ b/core/fpdfapi/render/cpdf_dibsource.h
@@ -69,7 +69,7 @@ class CPDF_DIBSource : public CFX_DIBSource {
uint32_t GroupFamily = 0,
bool bLoadMask = false);
int ContinueLoadDIBSource(IFX_Pause* pPause);
- int StratLoadMask();
+ int StartLoadMask();
int StartLoadMaskDIB();
int ContinueLoadMaskDIB(IFX_Pause* pPause);
int ContinueToLoadMask();