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

Unified Diff: src/inspector/v8-heap-profiler-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-function-call.cc ('k') | src/inspector/v8-internal-value-type.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/inspector/v8-heap-profiler-agent-impl.cc
diff --git a/src/inspector/v8-heap-profiler-agent-impl.cc b/src/inspector/v8-heap-profiler-agent-impl.cc
index a0f1004459d4603666635be288cf29cdb529fc0c..4ccef1c01532353eaed29c3ea25189cef2d97a12 100644
--- a/src/inspector/v8-heap-profiler-agent-impl.cc
+++ b/src/inspector/v8-heap-profiler-agent-impl.cc
@@ -294,7 +294,7 @@ void V8HeapProfilerAgentImpl::getHeapObjectId(ErrorString* errorString,
return;
v8::SnapshotObjectId id = m_isolate->GetHeapProfiler()->GetObjectId(value);
- *heapSnapshotObjectId = String16::fromInteger(id);
+ *heapSnapshotObjectId = String16::fromInteger(static_cast<size_t>(id));
}
void V8HeapProfilerAgentImpl::requestHeapStatsUpdate() {
« no previous file with comments | « src/inspector/v8-function-call.cc ('k') | src/inspector/v8-internal-value-type.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698