| Index: third_party/bigint/BigIntegerUtils.cc
|
| diff --git a/third_party/bigint/BigIntegerUtils.cc b/third_party/bigint/BigIntegerUtils.cc
|
| index 44073af65274d3286a4c84d67fbd5aa287464962..fac8ac34b182c9d14d7e68482bcb540cc11b40b3 100644
|
| --- a/third_party/bigint/BigIntegerUtils.cc
|
| +++ b/third_party/bigint/BigIntegerUtils.cc
|
| @@ -1,3 +1,9 @@
|
| +// 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.
|
| +
|
| +// Original code by Matt McCutchen, see the LICENSE file.
|
| +
|
| #include "BigIntegerUtils.hh"
|
| #include "BigUnsignedInABase.hh"
|
|
|
| @@ -36,7 +42,11 @@ std::ostream &operator <<(std::ostream &os, const BigUnsigned &x) {
|
| if (osFlags & os.showbase)
|
| os << '0';
|
| } else
|
| +#ifdef FOXIT_CHROME_BUILD
|
| + abort();
|
| +#else
|
| throw "std::ostream << BigUnsigned: Could not determine the desired base from output-stream flags";
|
| +#endif
|
| std::string s = std::string(BigUnsignedInABase(x, base));
|
| os << s;
|
| return os;
|
|
|