Index: src/conversions-inl.h |
diff --git a/src/conversions-inl.h b/src/conversions-inl.h |
index ce3054ba3126e19c6ce3e676285b14289bd58463..c0c788334f6556f0f8f4dc1dd89bb58f03293a23 100644 |
--- a/src/conversions-inl.h |
+++ b/src/conversions-inl.h |
@@ -14,6 +14,7 @@ |
// ---------------------------------------------------------------------------- |
// Extra POSIX/ANSI functions for Win32/MSVC. |
+#include "src/base/bits.h" |
#include "src/base/platform/platform.h" |
#include "src/conversions.h" |
#include "src/double.h" |
@@ -288,7 +289,7 @@ double InternalStringToInt(UnicodeCache* unicode_cache, |
return JunkStringValue(); |
} |
- if (IsPowerOf2(radix)) { |
+ if (base::bits::IsPowerOfTwo32(radix)) { |
switch (radix) { |
case 2: |
return InternalStringToIntDouble<1>( |