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

Unified Diff: src/inspector/V8HeapProfilerAgentImpl.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/V8FunctionCall.cpp ('k') | src/inspector/V8InternalValueType.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/inspector/V8HeapProfilerAgentImpl.cpp
diff --git a/src/inspector/V8HeapProfilerAgentImpl.cpp b/src/inspector/V8HeapProfilerAgentImpl.cpp
index 3cc7b2a7df51b1de920b8ca8acb5574d2d8dd654..048bba0980ef19424fdb4ce00a816795d007263a 100644
--- a/src/inspector/V8HeapProfilerAgentImpl.cpp
+++ b/src/inspector/V8HeapProfilerAgentImpl.cpp
@@ -294,7 +294,7 @@
return;
v8::SnapshotObjectId id = m_isolate->GetHeapProfiler()->GetObjectId(value);
- *heapSnapshotObjectId = String16::fromInteger(static_cast<size_t>(id));
+ *heapSnapshotObjectId = String16::fromInteger(id);
}
void V8HeapProfilerAgentImpl::requestHeapStatsUpdate() {
« no previous file with comments | « src/inspector/V8FunctionCall.cpp ('k') | src/inspector/V8InternalValueType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698