Title: [146668] trunk/Source/WTF
Revision
146668
Author
[email protected]
Date
2013-03-22 15:49:33 -0700 (Fri, 22 Mar 2013)

Log Message

Name correctly the argument of StringImpl::setIsAtomic()
https://bugs.webkit.org/show_bug.cgi?id=113000

Patch by Benjamin Poulain <[email protected]> on 2013-03-22
Reviewed by Geoffrey Garen.

* wtf/text/StringImpl.h:
(WTF::StringImpl::setIsAtomic):
The argument was probably an unfortunate copy-paste from setIsIdentifier().
Fix the name.

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (146667 => 146668)


--- trunk/Source/WTF/ChangeLog	2013-03-22 22:44:07 UTC (rev 146667)
+++ trunk/Source/WTF/ChangeLog	2013-03-22 22:49:33 UTC (rev 146668)
@@ -1,3 +1,15 @@
+2013-03-22  Benjamin Poulain  <[email protected]>
+
+        Name correctly the argument of StringImpl::setIsAtomic()
+        https://bugs.webkit.org/show_bug.cgi?id=113000
+
+        Reviewed by Geoffrey Garen.
+
+        * wtf/text/StringImpl.h:
+        (WTF::StringImpl::setIsAtomic):
+        The argument was probably an unfortunate copy-paste from setIsIdentifier().
+        Fix the name.
+
 2013-03-22  Hajime Morrita  <[email protected]>
 
         Custom Elements: "readyCallback" lifecycle callback should be called.

Modified: trunk/Source/WTF/wtf/text/StringImpl.h (146667 => 146668)


--- trunk/Source/WTF/wtf/text/StringImpl.h	2013-03-22 22:44:07 UTC (rev 146667)
+++ trunk/Source/WTF/wtf/text/StringImpl.h	2013-03-22 22:49:33 UTC (rev 146668)
@@ -518,10 +518,10 @@
     bool hasTerminatingNullCharacter() const { return m_hashAndFlags & s_hashFlagHasTerminatingNullCharacter; }
 
     bool isAtomic() const { return m_hashAndFlags & s_hashFlagIsAtomic; }
-    void setIsAtomic(bool isIdentifier)
+    void setIsAtomic(bool isAtomic)
     {
         ASSERT(!isStatic());
-        if (isIdentifier)
+        if (isAtomic)
             m_hashAndFlags |= s_hashFlagIsAtomic;
         else
             m_hashAndFlags &= ~s_hashFlagIsAtomic;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to