diff options
author | Lei Zhang <thestig@chromium.org> | 2015-12-22 14:44:49 -0800 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-12-22 14:44:49 -0800 |
commit | ba2586d2c0a50df14aa2549a0a841e1d4b9af4b6 (patch) | |
tree | d36be5c25b4e31db2ccd7fd1a28471fee575773d /core/src/fpdfapi/fpdf_render/fpdf_render_image.cpp | |
parent | be9095d0b2819cdc88785b0b4fdfccf837eb96a9 (diff) | |
download | pdfium-ba2586d2c0a50df14aa2549a0a841e1d4b9af4b6.tar.xz |
Start using allowed C++11 features.
R=dml@google.com, thakis@chromium.org
Review URL: https://codereview.chromium.org/1544923002 .
Diffstat (limited to 'core/src/fpdfapi/fpdf_render/fpdf_render_image.cpp')
-rw-r--r-- | core/src/fpdfapi/fpdf_render/fpdf_render_image.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/src/fpdfapi/fpdf_render/fpdf_render_image.cpp b/core/src/fpdfapi/fpdf_render/fpdf_render_image.cpp index ea6195dc8e..0afd8f072a 100644 --- a/core/src/fpdfapi/fpdf_render/fpdf_render_image.cpp +++ b/core/src/fpdfapi/fpdf_render/fpdf_render_image.cpp @@ -6,6 +6,8 @@ #include "render_int.h" +#include <utility> + #include "core/include/fpdfapi/fpdf_module.h" #include "core/include/fpdfapi/fpdf_pageobj.h" #include "core/include/fpdfapi/fpdf_render.h" @@ -126,7 +128,7 @@ void CPDF_RenderStatus::CompositeDIBitmap(CFX_DIBitmap* pDIBitmap, pBackdrop1->Clear((FX_DWORD)-1); pBackdrop1->CompositeBitmap(0, 0, pBackdrop->GetWidth(), pBackdrop->GetHeight(), pBackdrop.get(), 0, 0); - pBackdrop = nonstd::move(pBackdrop1); + pBackdrop = std::move(pBackdrop1); m_pDevice->SetDIBits(pBackdrop.get(), back_left, back_top); } |