Title: [130577] trunk/Source/WTF
Revision
130577
Author
[email protected]
Date
2012-10-06 01:08:22 -0700 (Sat, 06 Oct 2012)

Log Message

Fix build of WTFURL after r130187
https://bugs.webkit.org/show_bug.cgi?id=98588

Reviewed by Kentaro Hara.

* wtf/MemoryInstrumentationParsedURL.h:
(WTF::reportMemoryUsage):
* wtf/url/api/ParsedURL.h:
(WTF::ParsedURL::spec):

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (130576 => 130577)


--- trunk/Source/WTF/ChangeLog	2012-10-06 06:46:14 UTC (rev 130576)
+++ trunk/Source/WTF/ChangeLog	2012-10-06 08:08:22 UTC (rev 130577)
@@ -1,3 +1,15 @@
+2012-10-06  Benjamin Poulain  <[email protected]>
+
+        Fix build of WTFURL after r130187
+        https://bugs.webkit.org/show_bug.cgi?id=98588
+
+        Reviewed by Kentaro Hara.
+
+        * wtf/MemoryInstrumentationParsedURL.h:
+        (WTF::reportMemoryUsage):
+        * wtf/url/api/ParsedURL.h:
+        (WTF::ParsedURL::spec):
+
 2012-10-05  Simon Pena  <[email protected]>
 
         [GTK] Add support for GBytes in GRefPtr

Modified: trunk/Source/WTF/wtf/MemoryInstrumentationParsedURL.h (130576 => 130577)


--- trunk/Source/WTF/wtf/MemoryInstrumentationParsedURL.h	2012-10-06 06:46:14 UTC (rev 130576)
+++ trunk/Source/WTF/wtf/MemoryInstrumentationParsedURL.h	2012-10-06 08:08:22 UTC (rev 130577)
@@ -46,7 +46,7 @@
 inline void reportMemoryUsage(const ParsedURL* const& parsedURL, MemoryObjectInfo* memoryObjectInfo)
 {
     MemoryClassInfo info(memoryObjectInfo, parsedURL);
-    info.addMember(arrayBuffer->spec());
+    info.addMember(parsedURL->spec());
 }
 
 }

Modified: trunk/Source/WTF/wtf/url/api/ParsedURL.h (130576 => 130577)


--- trunk/Source/WTF/wtf/url/api/ParsedURL.h	2012-10-06 06:46:14 UTC (rev 130576)
+++ trunk/Source/WTF/wtf/url/api/ParsedURL.h	2012-10-06 08:08:22 UTC (rev 130577)
@@ -67,7 +67,7 @@
 
     WTF_EXPORT_PRIVATE String baseAsString() const;
 
-    const URLString& spec() { return m_spec; }
+    const URLString& spec() const { return m_spec; }
 
 #ifndef NDEBUG
     WTF_EXPORT_PRIVATE void print() const;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to