summaryrefslogtreecommitdiff
path: root/core/src/fpdfapi
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2016-02-23 11:21:48 -0800
committerLei Zhang <thestig@chromium.org>2016-02-23 11:21:48 -0800
commit9976672977d39fc5fe9df2b0110ed977d79609a8 (patch)
tree192a3238fa9587c77843812dc90f1884dc506689 /core/src/fpdfapi
parentd21cddaa7548584bfcebefe9a03e857fee3a846b (diff)
downloadpdfium-9976672977d39fc5fe9df2b0110ed977d79609a8.tar.xz
Remove uses of this->foo.
R=weili@chromium.org Review URL: https://codereview.chromium.org/1722913002 .
Diffstat (limited to 'core/src/fpdfapi')
-rw-r--r--core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp2
-rw-r--r--core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp b/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp
index d52ef4fd34..ad843bc6be 100644
--- a/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp
+++ b/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp
@@ -4299,7 +4299,7 @@ int CPDF_DataAvail::GetPageCount() const {
return m_pDocument ? m_pDocument->GetPageCount() : 0;
}
CPDF_Dictionary* CPDF_DataAvail::GetPage(int index) {
- if (!m_pDocument || index < 0 || index >= this->GetPageCount()) {
+ if (!m_pDocument || index < 0 || index >= GetPageCount()) {
return nullptr;
}
if (m_pLinearized) {
diff --git a/core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp b/core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp
index 533834e9b1..2aa1b0e6df 100644
--- a/core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp
+++ b/core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp
@@ -1536,8 +1536,8 @@ FX_BOOL CPDF_DIBSource::TransMask() const {
void CPDF_DIBSource::SetDownSampleSize(int dest_width, int dest_height) {
if (m_pDecoder) {
m_pDecoder->DownScale(dest_width, dest_height);
- this->m_Width = m_pDecoder->GetWidth();
- this->m_Height = m_pDecoder->GetHeight();
+ m_Width = m_pDecoder->GetWidth();
+ m_Height = m_pDecoder->GetHeight();
}
}