From 2b5e0d5b20654d116045484868c9e015ed698124 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Wed, 10 Jun 2015 23:33:26 -0700 Subject: Cleanup: Remove uses of "this->" in core/ R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1173223002. --- core/src/reflow/layoutprovider_taggedpdf.cpp | 2 +- core/src/reflow/reflowedpage.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'core/src/reflow') diff --git a/core/src/reflow/layoutprovider_taggedpdf.cpp b/core/src/reflow/layoutprovider_taggedpdf.cpp index 57ce4303e2..37eb2ad3cc 100644 --- a/core/src/reflow/layoutprovider_taggedpdf.cpp +++ b/core/src/reflow/layoutprovider_taggedpdf.cpp @@ -450,7 +450,7 @@ LayoutType CPDF_LayoutElement::GetType() return LayoutUnknown; } CFX_ByteString name = m_pTaggedElement->GetType(); - return this->ConvertLayoutType(name); + return ConvertLayoutType(name); } int CPDF_LayoutElement::CountAttrValues(LayoutAttr attr_type) { diff --git a/core/src/reflow/reflowedpage.cpp b/core/src/reflow/reflowedpage.cpp index 1c78e75cbc..41a80b7a06 100644 --- a/core/src/reflow/reflowedpage.cpp +++ b/core/src/reflow/reflowedpage.cpp @@ -223,7 +223,7 @@ void CPDF_ReflowedPage::FocusGetData(const CFX_AffineMatrix matrix, int32_t x, i if(FXSYS_fabs(tempdy - dy) < 1) { continue; } - CFX_FloatRect rect (0, pData->m_PosY + pData->m_Height, this->m_PageWidth, pData->m_PosY); + CFX_FloatRect rect (0, pData->m_PosY + pData->m_Height, m_PageWidth, pData->m_PosY); if(rect.Contains(x1, y1)) { pos = i; dx = 0; @@ -318,7 +318,7 @@ void CPDF_ProgressiveReflowPageParser::Continue(IFX_Pause* pPause) } void CPDF_ProgressiveReflowPageParser::Clear() { - this->Init(); + Init(); return; } FX_BOOL IPDF_ProgressiveReflowPageParser::IsTaggedPage(CPDF_PageObjects*pPage) -- cgit v1.2.3