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

Unified Diff: third_party/WebKit/Source/platform/web_process_memory_dump.cc

Issue 2080623002: Revert "Remove OwnPtr from Blink." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
Index: third_party/WebKit/Source/platform/web_process_memory_dump.cc
diff --git a/third_party/WebKit/Source/platform/web_process_memory_dump.cc b/third_party/WebKit/Source/platform/web_process_memory_dump.cc
index 5da3aef6999cd0c32e6b0c21c50e0621bdbada19..46f768af55ef2291cae9b0e4c6dfb793976a4bea 100644
--- a/third_party/WebKit/Source/platform/web_process_memory_dump.cc
+++ b/third_party/WebKit/Source/platform/web_process_memory_dump.cc
@@ -74,7 +74,7 @@ WebProcessMemoryDump::createWebMemoryAllocatorDump(
// memory_allocator_dumps_ will take ownership of
// |web_memory_allocator_dump|.
memory_allocator_dumps_.set(
- memory_allocator_dump, wrapUnique(web_memory_allocator_dump));
+ memory_allocator_dump, adoptPtr(web_memory_allocator_dump));
return web_memory_allocator_dump;
}

Powered by Google App Engine
This is Rietveld 408576698