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

Unified Diff: src/inspector/V8DebuggerAgentImpl.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 | « src/inspector/V8Debugger.cpp ('k') | src/inspector/V8DebuggerScript.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/inspector/V8DebuggerAgentImpl.cpp
diff --git a/src/inspector/V8DebuggerAgentImpl.cpp b/src/inspector/V8DebuggerAgentImpl.cpp
index 63035d1f2e6a35bbbda70fb8e6cb31d19b5221d5..58bcd610c3cdcf163be85753bffea2f7de8b9380 100644
--- a/src/inspector/V8DebuggerAgentImpl.cpp
+++ b/src/inspector/V8DebuggerAgentImpl.cpp
@@ -934,7 +934,7 @@
: nullptr;
String16 callFrameId =
- RemoteCallFrameId::serialize(contextId, static_cast<int>(frameOrdinal));
+ RemoteCallFrameId::serialize(contextId, frameOrdinal);
if (hasInternalError(
errorString,
!details
@@ -1006,11 +1006,9 @@
return Array<CallFrame>::create();
}
- if (hasInternalError(
- errorString,
- !objects
- ->Set(debuggerContext, static_cast<int>(frameOrdinal), details)
- .FromMaybe(false)))
+ if (hasInternalError(errorString,
+ !objects->Set(debuggerContext, frameOrdinal, details)
+ .FromMaybe(false)))
return Array<CallFrame>::create();
}
« no previous file with comments | « src/inspector/V8Debugger.cpp ('k') | src/inspector/V8DebuggerScript.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698