Commit de9d335f authored by kylechar's avatar kylechar Committed by Commit Bot

Fix shared image memory dump

Both gpu/shared-images/* and gpu/shared_images/* are used as the memory
dump name for shared images. Other GPU code uses an underscore in dump
names so use gpu/shared_images.

Bug: none
Change-Id: I03466b6ca43cd4d35e5227804d7de1125b3ac865
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1894465
Auto-Submit: kylechar <kylechar@chromium.org>
Commit-Queue: Zhenyao Mo <zmo@chromium.org>
Reviewed-by: default avatarZhenyao Mo <zmo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#711925}
parent 9601f078
...@@ -294,7 +294,7 @@ void SharedImageManager::OnMemoryDump(const Mailbox& mailbox, ...@@ -294,7 +294,7 @@ void SharedImageManager::OnMemoryDump(const Mailbox& mailbox,
// Unique name in the process. // Unique name in the process.
std::string dump_name = std::string dump_name =
base::StringPrintf("gpu/shared-images/client_0x%" PRIX32 "/mailbox_%s", base::StringPrintf("gpu/shared_images/client_0x%" PRIX32 "/mailbox_%s",
client_id, mailbox.ToDebugString().c_str()); client_id, mailbox.ToDebugString().c_str());
base::trace_event::MemoryAllocatorDump* dump = base::trace_event::MemoryAllocatorDump* dump =
......
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