From 8e49f3fce1a56634284b254a0dc2d329da349355 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Thu, 18 Oct 2018 20:51:54 +0000 Subject: Do IWYU in core/fxcrt/css and fix lint errors. Change-Id: I6d2b35849e9f1935277986b6c72e6f507d976974 Reviewed-on: https://pdfium-review.googlesource.com/c/43948 Commit-Queue: Lei Zhang Reviewed-by: Ryan Harrison --- core/fxcrt/css/cfx_csscomputedstyle.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'core/fxcrt/css/cfx_csscomputedstyle.cpp') diff --git a/core/fxcrt/css/cfx_csscomputedstyle.cpp b/core/fxcrt/css/cfx_csscomputedstyle.cpp index eff708122b..11ae901185 100644 --- a/core/fxcrt/css/cfx_csscomputedstyle.cpp +++ b/core/fxcrt/css/cfx_csscomputedstyle.cpp @@ -9,16 +9,16 @@ #include "core/fxcrt/css/cfx_cssstringvalue.h" #include "core/fxcrt/css/cfx_cssvaluelist.h" -CFX_CSSComputedStyle::CFX_CSSComputedStyle() {} +CFX_CSSComputedStyle::CFX_CSSComputedStyle() = default; -CFX_CSSComputedStyle::~CFX_CSSComputedStyle() {} +CFX_CSSComputedStyle::~CFX_CSSComputedStyle() = default; bool CFX_CSSComputedStyle::GetCustomStyle(const WideString& wsName, - WideString& wsValue) const { + WideString* pValue) const { for (auto iter = m_CustomProperties.rbegin(); - iter != m_CustomProperties.rend(); iter++) { + iter != m_CustomProperties.rend(); ++iter) { if (wsName == iter->name()) { - wsValue = iter->value(); + *pValue = iter->value(); return true; } } -- cgit v1.2.3