Fix CPU / Memory diagnostic logging in PerformanceMonitor to use logDiagnosticMessage() instead of logDiagnosticMessageWithValue(). logDiagnosticMessageWithValue() should only be used with numeric values.
Created attachment 299863 [details] Patch
<rdar://problem/30220959>
Comment on attachment 299863 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=299863&action=review > Source/WebCore/page/DiagnosticLoggingClient.h:42 > + // FIXME: rename this to logDiagnosticMessageWithNumericValue(). Should its parameter be a String, then?
(In reply to comment #3) > Comment on attachment 299863 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=299863&action=review > > > Source/WebCore/page/DiagnosticLoggingClient.h:42 > > + // FIXME: rename this to logDiagnosticMessageWithNumericValue(). > > Should its parameter be a String, then? We end up passing a string to the underlying framework so this is not a big issue (although it may be clearer indeed). However, the string definitely needs to contain a numeric value.
Committed r211233: <http://trac.webkit.org/changeset/211233>