summaryrefslogtreecommitdiff
path: root/third_party/bigint/BigIntegerUtils.cc
diff options
context:
space:
mode:
authorJohn Abd-El-Malek <jam@chromium.org>2014-12-12 17:47:56 -0800
committerJohn Abd-El-Malek <jam@chromium.org>2014-12-12 17:47:56 -0800
commitf6505100fc132ef866adaf3ff1fb7f06d0ca7a9b (patch)
tree73497690daaf5c7f810a4c2a8fa1047c59f738a0 /third_party/bigint/BigIntegerUtils.cc
parent217ecf3b39f8d5c01260684848a8886c8ed2bf89 (diff)
downloadpdfium-f6505100fc132ef866adaf3ff1fb7f06d0ca7a9b.tar.xz
TBR=tsepez Review URL: https://codereview.chromium.org/804463003
Diffstat (limited to 'third_party/bigint/BigIntegerUtils.cc')
-rw-r--r--third_party/bigint/BigIntegerUtils.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/third_party/bigint/BigIntegerUtils.cc b/third_party/bigint/BigIntegerUtils.cc
index fac8ac34b1..f48334d961 100644
--- a/third_party/bigint/BigIntegerUtils.cc
+++ b/third_party/bigint/BigIntegerUtils.cc
@@ -42,11 +42,8 @@ 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;