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

Unified Diff: third_party/WebKit/Source/wtf/HashTable.h

Issue 2725953003: Fix WTF::HashTable performance regression on Windows. (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/HashTable.h
diff --git a/third_party/WebKit/Source/wtf/HashTable.h b/third_party/WebKit/Source/wtf/HashTable.h
index 2d9b5f8d34b7e9bfd29b080e747bac509a6968cb..a02aea98dabaa87d69034c6ecf6ef9c59798e109 100644
--- a/third_party/WebKit/Source/wtf/HashTable.h
+++ b/third_party/WebKit/Source/wtf/HashTable.h
@@ -800,12 +800,12 @@ class HashTable final
DCHECK_EQ(mods, m_modifications);
}
#else
- void enterAccessForbiddenScope() {}
- void leaveAccessForbiddenScope() {}
- bool accessForbidden() const { return false; }
- int64_t modifications() const { return 0; }
- void registerModification() {}
- void checkModifications(int64_t mods) const {}
+ ALWAYS_INLINE void enterAccessForbiddenScope() {}
+ ALWAYS_INLINE void leaveAccessForbiddenScope() {}
+ ALWAYS_INLINE bool accessForbidden() const { return false; }
+ ALWAYS_INLINE int64_t modifications() const { return 0; }
+ ALWAYS_INLINE void registerModification() {}
+ ALWAYS_INLINE void checkModifications(int64_t mods) const {}
#endif
private:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698