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

Unified Diff: third_party/WebKit/Source/core/animation/PropertyHandle.cpp

Issue 2390203002: Use AtomicString instead of StringImpl* in PropertyHandle (Closed)
Patch Set: Created 4 years, 2 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 | « third_party/WebKit/Source/core/animation/PropertyHandle.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/animation/PropertyHandle.cpp
diff --git a/third_party/WebKit/Source/core/animation/PropertyHandle.cpp b/third_party/WebKit/Source/core/animation/PropertyHandle.cpp
index 90b91f19d26399549ad066cef28c6640fc4e4e76..12c144e10e6afe9a51d50fbcb66cbbb26b835c13 100644
--- a/third_party/WebKit/Source/core/animation/PropertyHandle.cpp
+++ b/third_party/WebKit/Source/core/animation/PropertyHandle.cpp
@@ -4,6 +4,8 @@
#include "core/animation/PropertyHandle.h"
+#include "wtf/text/AtomicStringHash.h"
+
namespace blink {
bool PropertyHandle::operator==(const PropertyHandle& other) const {
@@ -28,7 +30,7 @@ unsigned PropertyHandle::hash() const {
case HandleCSSProperty:
return m_cssProperty;
case HandleCSSCustomProperty:
- return m_propertyName->existingHash();
+ return AtomicStringHash::hash(m_propertyName);
case HandlePresentationAttribute:
return -m_cssProperty;
case HandleSVGAttribute:
« no previous file with comments | « third_party/WebKit/Source/core/animation/PropertyHandle.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698