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

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/V8ConsoleAgentImpl.cpp

Issue 2151083002: DevTools: explicitly differentiate ints vs doubles in the protocol bindings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lcean Created 4 years, 5 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/v8_inspector/V8ConsoleAgentImpl.cpp
diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8ConsoleAgentImpl.cpp b/third_party/WebKit/Source/platform/v8_inspector/V8ConsoleAgentImpl.cpp
index 6e85210c014af0e02ee26982e046c4946485005c..74eaf08e2e4aac30b8e287a18e0bef4f7464e1e3 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/V8ConsoleAgentImpl.cpp
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8ConsoleAgentImpl.cpp
@@ -77,7 +77,7 @@ void V8ConsoleAgentImpl::reportAllMessages()
std::unique_ptr<protocol::Console::ConsoleMessage> expired = protocol::Console::ConsoleMessage::create()
.setSource(protocol::Console::ConsoleMessage::SourceEnum::Other)
.setLevel(protocol::Console::ConsoleMessage::LevelEnum::Warning)
- .setText(String16::number(storage->expiredCount()) + String16("console messages are not shown."))
+ .setText(String16::fromInteger(storage->expiredCount()) + String16("console messages are not shown."))
.setTimestamp(0)
.build();
expired->setType(protocol::Console::ConsoleMessage::TypeEnum::Log);

Powered by Google App Engine
This is Rietveld 408576698