Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(876)

Unified Diff: third_party/WebKit/Source/platform/inspector_protocol/String16STL.h

Issue 2035653006: [DevTools] Move Console to v8 inspector. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: improved api a bit Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/inspector_protocol/String16STL.h
diff --git a/third_party/WebKit/Source/platform/inspector_protocol/String16STL.h b/third_party/WebKit/Source/platform/inspector_protocol/String16STL.h
index a3e6d215a964b23e129b2efb8ebad4ede290b1d4..7b185a26b72504f498d1d00bd0b0bc5c78601bfb 100644
--- a/third_party/WebKit/Source/platform/inspector_protocol/String16STL.h
+++ b/third_party/WebKit/Source/platform/inspector_protocol/String16STL.h
@@ -173,6 +173,11 @@ public:
m_impl = m_impl + String16::number(i).impl();
}
+ void appendNumber(double d)
+ {
+ m_impl = m_impl + String16::fromDoubleFixedPrecision(d, 6).impl();
+ }
+
void append(const UChar* c, size_t length)
{
// presubmit: allow wstring

Powered by Google App Engine
This is Rietveld 408576698