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

Unified Diff: src/inspector/InjectedScript.cpp

Issue 2339173004: Revert of [inspector] fixed all shorten-64-to-32 warnings (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « include/v8-inspector.h ('k') | src/inspector/SearchUtil.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/inspector/InjectedScript.cpp
diff --git a/src/inspector/InjectedScript.cpp b/src/inspector/InjectedScript.cpp
index 77c3bbc759e264eeca5f288e851683b41efc7778..ebd26ece673bb1c0dffe526be29082e9b600b650 100644
--- a/src/inspector/InjectedScript.cpp
+++ b/src/inspector/InjectedScript.cpp
@@ -376,8 +376,8 @@
: message->GetStartColumn(m_context->context()).FromMaybe(0))
.build();
if (!message.IsEmpty()) {
- exceptionDetails->setScriptId(String16::fromInteger(
- static_cast<int>(message->GetScriptOrigin().ScriptID()->Value())));
+ exceptionDetails->setScriptId(
+ String16::fromInteger(message->GetScriptOrigin().ScriptID()->Value()));
v8::Local<v8::StackTrace> stackTrace = message->GetStackTrace();
if (!stackTrace.IsEmpty() && stackTrace->GetFrameCount() > 0)
exceptionDetails->setStackTrace(m_context->inspector()
« no previous file with comments | « include/v8-inspector.h ('k') | src/inspector/SearchUtil.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698