diff options
author | Lei Zhang <thestig@chromium.org> | 2017-03-10 14:37:14 -0800 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-03-13 19:28:30 +0000 |
commit | 375c2764b56b38cc9326a8f8ef668fbf78234e9a (patch) | |
tree | ee1056ac37b855135c8c5a544d4716c3d1a9c7b1 /core/fpdfapi/page/fpdf_page_func.cpp | |
parent | 723987910fb195e454aab28e1088df4f9ccf0d6e (diff) | |
download | pdfium-375c2764b56b38cc9326a8f8ef668fbf78234e9a.tar.xz |
Make most PDFium code pass Clang plugin's auto raw check.
Change-Id: I9dc32342e24361389841ecba83081a97fc043377
Reviewed-on: https://pdfium-review.googlesource.com/2959
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fpdfapi/page/fpdf_page_func.cpp')
-rw-r--r-- | core/fpdfapi/page/fpdf_page_func.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/fpdfapi/page/fpdf_page_func.cpp b/core/fpdfapi/page/fpdf_page_func.cpp index 916641f05d..f81ec9e6bd 100644 --- a/core/fpdfapi/page/fpdf_page_func.cpp +++ b/core/fpdfapi/page/fpdf_page_func.cpp @@ -469,9 +469,9 @@ bool CPDF_PSEngine::DoOperator(PDF_PSOP op) { j %= n; if (j > 0) j -= n; - auto begin_it = std::begin(m_Stack) + m_StackCount - n; - auto middle_it = begin_it - j; - auto end_it = std::begin(m_Stack) + m_StackCount; + auto* begin_it = std::begin(m_Stack) + m_StackCount - n; + auto* middle_it = begin_it - j; + auto* end_it = std::begin(m_Stack) + m_StackCount; std::rotate(begin_it, middle_it, end_it); break; } |