Title: [148766] trunk/Source/WTF
- Revision
- 148766
- Author
- [email protected]
- Date
- 2013-04-19 13:56:39 -0700 (Fri, 19 Apr 2013)
Log Message
Make StringImpl::cost const
https://bugs.webkit.org/show_bug.cgi?id=114790
Reviewed by Andreas Kling.
* wtf/text/StringImpl.h:
(WTF::StringImpl::cost):
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (148765 => 148766)
--- trunk/Source/WTF/ChangeLog 2013-04-19 20:41:23 UTC (rev 148765)
+++ trunk/Source/WTF/ChangeLog 2013-04-19 20:56:39 UTC (rev 148766)
@@ -1,3 +1,13 @@
+2013-04-19 Benjamin Poulain <[email protected]>
+
+ Make StringImpl::cost const
+ https://bugs.webkit.org/show_bug.cgi?id=114790
+
+ Reviewed by Andreas Kling.
+
+ * wtf/text/StringImpl.h:
+ (WTF::StringImpl::cost):
+
2013-04-19 Roger Fong <[email protected]>
Unreviewed. WebKit_Source is incorrectly set.
Modified: trunk/Source/WTF/wtf/text/StringImpl.h (148765 => 148766)
--- trunk/Source/WTF/wtf/text/StringImpl.h 2013-04-19 20:41:23 UTC (rev 148765)
+++ trunk/Source/WTF/wtf/text/StringImpl.h 2013-04-19 20:56:39 UTC (rev 148766)
@@ -483,7 +483,7 @@
template <typename CharType>
ALWAYS_INLINE const CharType * getCharacters() const;
- size_t cost()
+ size_t cost() const
{
// For substrings, return the cost of the base string.
if (bufferOwnership() == BufferSubstring)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes