From 9976672977d39fc5fe9df2b0110ed977d79609a8 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Tue, 23 Feb 2016 11:21:48 -0800 Subject: Remove uses of this->foo. R=weili@chromium.org Review URL: https://codereview.chromium.org/1722913002 . --- core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp | 2 +- core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'core') 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(); } } -- cgit v1.2.3