Commit f0726837 authored by pfeldman's avatar pfeldman Committed by Commit bot

v8 inspector: do not upon empty object ids in heap profiler.

BUG=chromium:651324

Review-Url: https://codereview.chromium.org/2522593005
Cr-Commit-Position: refs/heads/master@{#41161}
parent e60e9611
......@@ -244,7 +244,7 @@ Response V8HeapProfilerAgentImpl::getObjectByHeapObjectId(
*result = m_session->wrapObject(heapObject->CreationContext(), heapObject,
objectGroup.fromMaybe(""), false);
if (!result) return Response::Error("Object is not available");
if (!*result) return Response::Error("Object is not available");
return Response::OK();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment