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

Unified Diff: src/inspector/v8-debugger-agent-impl.cc

Issue 2332163002: [inspector] fixed all shorten-64-to-32 warnings (Closed)
Patch Set: rebased 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 | « src/inspector/v8-debugger.cc ('k') | src/inspector/v8-debugger-script.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/inspector/v8-debugger-agent-impl.cc
diff --git a/src/inspector/v8-debugger-agent-impl.cc b/src/inspector/v8-debugger-agent-impl.cc
index 1c437dd3128c567268aa7bf2deed1a072d168069..a6bfe84f48a0569197087db4d25c9b6de8bf29e5 100644
--- a/src/inspector/v8-debugger-agent-impl.cc
+++ b/src/inspector/v8-debugger-agent-impl.cc
@@ -934,7 +934,7 @@ std::unique_ptr<Array<CallFrame>> V8DebuggerAgentImpl::currentCallFrames(
: nullptr;
String16 callFrameId =
- RemoteCallFrameId::serialize(contextId, frameOrdinal);
+ RemoteCallFrameId::serialize(contextId, static_cast<int>(frameOrdinal));
if (hasInternalError(
errorString,
!details
@@ -1006,9 +1006,11 @@ std::unique_ptr<Array<CallFrame>> V8DebuggerAgentImpl::currentCallFrames(
return Array<CallFrame>::create();
}
- if (hasInternalError(errorString,
- !objects->Set(debuggerContext, frameOrdinal, details)
- .FromMaybe(false)))
+ if (hasInternalError(
+ errorString,
+ !objects
+ ->Set(debuggerContext, static_cast<int>(frameOrdinal), details)
+ .FromMaybe(false)))
return Array<CallFrame>::create();
}
« no previous file with comments | « src/inspector/v8-debugger.cc ('k') | src/inspector/v8-debugger-script.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698