Title: [98578] trunk/Source/WebCore
Revision
98578
Author
[email protected]
Date
2011-10-27 08:14:55 -0700 (Thu, 27 Oct 2011)

Log Message

Clean up MicroDataItemValue to use const String& instead of String
https://bugs.webkit.org/show_bug.cgi?id=70978

Reviewed by Tony Chang.

* html/MicroDataItemValue.cpp:
(WebCore::MicroDataItemValue::MicroDataItemValue):
* html/MicroDataItemValue.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (98577 => 98578)


--- trunk/Source/WebCore/ChangeLog	2011-10-27 15:12:04 UTC (rev 98577)
+++ trunk/Source/WebCore/ChangeLog	2011-10-27 15:14:55 UTC (rev 98578)
@@ -1,3 +1,14 @@
+2011-10-27  Daniel Cheng  <[email protected]>
+
+        Clean up MicroDataItemValue to use const String& instead of String
+        https://bugs.webkit.org/show_bug.cgi?id=70978
+
+        Reviewed by Tony Chang.
+
+        * html/MicroDataItemValue.cpp:
+        (WebCore::MicroDataItemValue::MicroDataItemValue):
+        * html/MicroDataItemValue.h:
+
 2011-10-27  Antti Koivisto  <[email protected]>
 
         Use StringHasher to generate the matched declaration cache hash

Modified: trunk/Source/WebCore/html/MicroDataItemValue.cpp (98577 => 98578)


--- trunk/Source/WebCore/html/MicroDataItemValue.cpp	2011-10-27 15:12:04 UTC (rev 98577)
+++ trunk/Source/WebCore/html/MicroDataItemValue.cpp	2011-10-27 15:14:55 UTC (rev 98578)
@@ -37,7 +37,7 @@
 
 namespace WebCore {
 
-MicroDataItemValue::MicroDataItemValue(String string)
+MicroDataItemValue::MicroDataItemValue(const String& string)
     : m_type(STRING)
     , m_string(string)
 {

Modified: trunk/Source/WebCore/html/MicroDataItemValue.h (98577 => 98578)


--- trunk/Source/WebCore/html/MicroDataItemValue.h	2011-10-27 15:12:04 UTC (rev 98577)
+++ trunk/Source/WebCore/html/MicroDataItemValue.h	2011-10-27 15:14:55 UTC (rev 98578)
@@ -55,7 +55,7 @@
     String getString() { return m_string; }
 
 private:
-    MicroDataItemValue(String);
+    MicroDataItemValue(const String&);
     MicroDataItemValue(Node*);
 
     Type m_type;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to