Title: [198884] trunk/Source/WebCore
Revision
198884
Author
achristen...@apple.com
Date
2016-03-30 22:49:05 -0700 (Wed, 30 Mar 2016)

Log Message

Build fix.

* platform/text/LineEnding.cpp:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (198883 => 198884)


--- trunk/Source/WebCore/ChangeLog	2016-03-31 05:44:58 UTC (rev 198883)
+++ trunk/Source/WebCore/ChangeLog	2016-03-31 05:49:05 UTC (rev 198884)
@@ -1,5 +1,11 @@
 2016-03-30  Alex Christensen  <achristen...@webkit.org>
 
+        Build fix.
+
+        * platform/text/LineEnding.cpp:
+
+2016-03-30  Alex Christensen  <achristen...@webkit.org>
+
         Fix GTK and Windows builds after r198869.
 
         * platform/network/soup/ResourceHandleSoup.cpp:

Modified: trunk/Source/WebCore/platform/text/LineEnding.cpp (198883 => 198884)


--- trunk/Source/WebCore/platform/text/LineEnding.cpp	2016-03-31 05:44:58 UTC (rev 198883)
+++ trunk/Source/WebCore/platform/text/LineEnding.cpp	2016-03-31 05:49:05 UTC (rev 198884)
@@ -70,6 +70,7 @@
     CString m_buffer;
 };
 
+#if OS(WINDOWS)
 class VectorCharAppendBuffer : public OutputBuffer {
 public:
     VectorCharAppendBuffer(Vector<uint8_t>& buffer)
@@ -78,7 +79,7 @@
     }
     virtual ~VectorCharAppendBuffer() { }
 
-    char* allocate(size_t size) override
+    uint8_t* allocate(size_t size) override
     {
         size_t oldSize = m_buffer.size();
         m_buffer.grow(oldSize + size);
@@ -93,6 +94,7 @@
 private:
     Vector<uint8_t>& m_buffer;
 };
+#endif
 
 void internalNormalizeLineEndingsToCRLF(const CString& from, OutputBuffer& buffer)
 {
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to