diff options
Diffstat (limited to 'fpdfsdk/javascript/cjs_return.cpp')
-rw-r--r-- | fpdfsdk/javascript/cjs_return.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/fpdfsdk/javascript/cjs_return.cpp b/fpdfsdk/javascript/cjs_return.cpp deleted file mode 100644 index ecf36da705..0000000000 --- a/fpdfsdk/javascript/cjs_return.cpp +++ /dev/null @@ -1,18 +0,0 @@ -// Copyright 2017 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. - -// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com - -#include "fpdfsdk/javascript/cjs_return.h" - -CJS_Return::CJS_Return(bool result) : is_error_(!result) {} - -CJS_Return::CJS_Return(const WideString& err) : is_error_(true), error_(err) {} - -CJS_Return::CJS_Return(v8::Local<v8::Value> ret) - : is_error_(false), return_(ret) {} - -CJS_Return::CJS_Return(const CJS_Return&) = default; - -CJS_Return::~CJS_Return() = default; |