Index: third_party/WebKit/Source/platform/inspector_protocol/String16WTF.h |
diff --git a/third_party/WebKit/Source/platform/inspector_protocol/String16WTF.h b/third_party/WebKit/Source/platform/inspector_protocol/String16WTF.h |
index b48162ca562a0f66823cf1442f46d2d63675c451..4ee9c8df52db4e50b59b02c360a1fd2a1fd9ffe6 100644 |
--- a/third_party/WebKit/Source/platform/inspector_protocol/String16WTF.h |
+++ b/third_party/WebKit/Source/platform/inspector_protocol/String16WTF.h |
@@ -40,6 +40,7 @@ public: |
static String16 number(int i) { return String::number(i); } |
static String16 fromDouble(double number) { return Decimal::fromDouble(number).toString(); } |
+ static String16 fromDoubleFixedPrecision(double number, int precision) { return String::numberToStringFixedWidth(number, precision); } |
size_t length() const { return m_impl.length(); } |
bool isEmpty() const { return m_impl.isEmpty(); } |