Index: third_party/WebKit/Source/platform/v8_inspector/V8HeapProfilerAgentImpl.cpp |
diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8HeapProfilerAgentImpl.cpp b/third_party/WebKit/Source/platform/v8_inspector/V8HeapProfilerAgentImpl.cpp |
index d256fe1cc29efadd69b30ae1ba089dcdd7ec3742..64c03ea7e4bdcb354ecb3a96bd0d5e3503b81d52 100644 |
--- a/third_party/WebKit/Source/platform/v8_inspector/V8HeapProfilerAgentImpl.cpp |
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8HeapProfilerAgentImpl.cpp |
@@ -237,7 +237,7 @@ void V8HeapProfilerAgentImpl::takeHeapSnapshot(ErrorString* errorString, const p |
void V8HeapProfilerAgentImpl::getObjectByHeapObjectId(ErrorString* error, const String16& heapSnapshotObjectId, const protocol::Maybe<String16>& objectGroup, std::unique_ptr<protocol::Runtime::RemoteObject>* result) |
{ |
bool ok; |
- int id = heapSnapshotObjectId.toInt(&ok); |
+ int id = heapSnapshotObjectId.toInteger(&ok); |
if (!ok) { |
*error = "Invalid heap snapshot object id"; |
return; |
@@ -263,7 +263,7 @@ void V8HeapProfilerAgentImpl::getObjectByHeapObjectId(ErrorString* error, const |
void V8HeapProfilerAgentImpl::addInspectedHeapObject(ErrorString* errorString, const String16& inspectedHeapObjectId) |
{ |
bool ok; |
- int id = inspectedHeapObjectId.toInt(&ok); |
+ int id = inspectedHeapObjectId.toInteger(&ok); |
if (!ok) { |
*errorString = "Invalid heap snapshot object id"; |
return; |