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

Unified Diff: Source/core/dom/SpaceSplitString.cpp

Issue 167123002: Simpler return value from HashTable::add()/HashMap::add() and others (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
« no previous file with comments | « Source/core/dom/QualifiedName.cpp ('k') | Source/core/dom/StyleEngine.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/SpaceSplitString.cpp
diff --git a/Source/core/dom/SpaceSplitString.cpp b/Source/core/dom/SpaceSplitString.cpp
index 268583ee2a17580365a2c1adf9452e6ccbe22f09..4bec8c0ea46543211ef7f04c26a4f8a0f323c512 100644
--- a/Source/core/dom/SpaceSplitString.cpp
+++ b/Source/core/dom/SpaceSplitString.cpp
@@ -175,7 +175,7 @@ SpaceSplitStringData::~SpaceSplitStringData()
PassRefPtr<SpaceSplitStringData> SpaceSplitStringData::create(const AtomicString& string)
{
- SpaceSplitStringData*& data = sharedDataMap().add(string, 0).iterator->value;
+ SpaceSplitStringData*& data = sharedDataMap().add(string, 0).storedValue->value;
if (!data) {
data = new SpaceSplitStringData(string);
return adoptRef(data);
« no previous file with comments | « Source/core/dom/QualifiedName.cpp ('k') | Source/core/dom/StyleEngine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698