From ba2586d2c0a50df14aa2549a0a841e1d4b9af4b6 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Tue, 22 Dec 2015 14:44:49 -0800 Subject: Start using allowed C++11 features. R=dml@google.com, thakis@chromium.org Review URL: https://codereview.chromium.org/1544923002 . --- core/src/fxcodec/codec/fx_codec.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/src/fxcodec/codec') diff --git a/core/src/fxcodec/codec/fx_codec.cpp b/core/src/fxcodec/codec/fx_codec.cpp index 6998114f83..b7b5563b29 100644 --- a/core/src/fxcodec/codec/fx_codec.cpp +++ b/core/src/fxcodec/codec/fx_codec.cpp @@ -1,4 +1,3 @@ - // Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -8,6 +7,7 @@ #include "core/include/fxcodec/fx_codec.h" #include +#include #include "codec_int.h" #include "core/include/fxcrt/fx_ext.h" @@ -139,7 +139,7 @@ void CCodec_ScanlineDecoder::DownScale(int dest_width, int dest_height) { if (!cache->AllocateCache()) return; - m_pDataCache = nonstd::move(cache); + m_pDataCache = std::move(cache); } FX_BOOL CCodec_BasicModule::RunLengthEncode(const uint8_t* src_buf, -- cgit v1.2.3