diff options
author | Nicolas Pena <npm@chromium.org> | 2017-04-20 15:29:25 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-04-20 20:12:17 +0000 |
commit | ddfc3dcce42ad1dc805f29102f7d056a5809d489 (patch) | |
tree | 686e0f28269a8d1e3c9eb2e9806f76ee2cb4b9f5 /core/fxge/agg | |
parent | 58532b670716d5fe3ab024475fa1aa1580ecfe5b (diff) | |
download | pdfium-ddfc3dcce42ad1dc805f29102f7d056a5809d489.tar.xz |
Let {Argb,Cmyk}Decode return tuples
Change-Id: Ic4e766d9417f9a9ece5f9e4269d0f96e1e91639b
Reviewed-on: https://pdfium-review.googlesource.com/4392
Commit-Queue: Nicolás Peña <npm@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fxge/agg')
-rw-r--r-- | core/fxge/agg/fx_agg_driver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxge/agg/fx_agg_driver.cpp b/core/fxge/agg/fx_agg_driver.cpp index b5ec4c5096..471fc9bb86 100644 --- a/core/fxge/agg/fx_agg_driver.cpp +++ b/core/fxge/agg/fx_agg_driver.cpp @@ -923,7 +923,7 @@ bool CFX_Renderer::Init(const CFX_RetainPtr<CFX_DIBitmap>& pDevice, m_Color = FXARGB_TOBGRORDERDIB(color); else m_Color = FXARGB_TODIB(color); - ArgbDecode(color, m_Alpha, m_Red, m_Green, m_Blue); + std::tie(m_Alpha, m_Red, m_Green, m_Blue) = ArgbDecode(color); if (m_pDevice->GetBPP() == 1) composite_span = &CFX_Renderer::CompositeSpan1bpp; return true; |