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

Unified Diff: third_party/WebKit/Source/modules/filesystem/DraggedIsolatedFileSystemImpl.cpp

Issue 2671933002: Migrate WTF::HashMap::add() to ::insert() (Closed)
Patch Set: rebase, add TODOs Created 3 years, 10 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/modules/filesystem/DraggedIsolatedFileSystemImpl.cpp
diff --git a/third_party/WebKit/Source/modules/filesystem/DraggedIsolatedFileSystemImpl.cpp b/third_party/WebKit/Source/modules/filesystem/DraggedIsolatedFileSystemImpl.cpp
index 2eca96c6c79f7360e5a4e2ef6369d136072fbe17..e07f03f92325de8e147f439302321222b600b647 100644
--- a/third_party/WebKit/Source/modules/filesystem/DraggedIsolatedFileSystemImpl.cpp
+++ b/third_party/WebKit/Source/modules/filesystem/DraggedIsolatedFileSystemImpl.cpp
@@ -51,8 +51,8 @@ DOMFileSystem* DraggedIsolatedFileSystemImpl::getDOMFileSystem(
if (it != draggedIsolatedFileSystem->m_filesystems.end())
return it->value;
return draggedIsolatedFileSystem->m_filesystems
- .add(fileSystemId, DOMFileSystem::createIsolatedFileSystem(
- executionContext, fileSystemId))
+ .insert(fileSystemId, DOMFileSystem::createIsolatedFileSystem(
+ executionContext, fileSystemId))
.storedValue->value;
}

Powered by Google App Engine
This is Rietveld 408576698