Title: [201844] trunk
Revision
201844
Author
[email protected]
Date
2016-06-08 16:19:34 -0700 (Wed, 08 Jun 2016)

Log Message

Source/WebCore:
Fix WinCairo build.

* platform/network/curl/MultipartHandle.cpp:
(WebCore::MultipartHandle::didReceiveResponse):

Tools:
Fix WinCairo build

* DumpRenderTree/cairo/PixelDumpSupportCairo.h:
(BitmapContext::createByAdoptingBitmapAndContext):
(BitmapContext::~BitmapContext):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (201843 => 201844)


--- trunk/Source/WebCore/ChangeLog	2016-06-08 23:17:11 UTC (rev 201843)
+++ trunk/Source/WebCore/ChangeLog	2016-06-08 23:19:34 UTC (rev 201844)
@@ -1,3 +1,10 @@
+2016-06-08  Alex Christensen  <[email protected]>
+
+        Fix WinCairo build.
+
+        * platform/network/curl/MultipartHandle.cpp:
+        (WebCore::MultipartHandle::didReceiveResponse):
+
 2016-06-08  Jer Noble  <[email protected]>
 
         With audio user gesture restriction in place, video.src = '', video.play() succeeds where it should fail.

Modified: trunk/Source/WebCore/platform/network/curl/MultipartHandle.cpp (201843 => 201844)


--- trunk/Source/WebCore/platform/network/curl/MultipartHandle.cpp	2016-06-08 23:17:11 UTC (rev 201843)
+++ trunk/Source/WebCore/platform/network/curl/MultipartHandle.cpp	2016-06-08 23:19:34 UTC (rev 201844)
@@ -350,7 +350,7 @@
         response.setTextEncodingName(extractCharsetFromMediaType(contentType));
 
         d->client()->didReceiveResponse(m_resourceHandle, response);
-        m_response->setResponseFired(true);
+        response->setResponseFired(true);
     }
 }
 

Modified: trunk/Tools/ChangeLog (201843 => 201844)


--- trunk/Tools/ChangeLog	2016-06-08 23:17:11 UTC (rev 201843)
+++ trunk/Tools/ChangeLog	2016-06-08 23:19:34 UTC (rev 201844)
@@ -1,3 +1,11 @@
+2016-06-08  Alex Christensen  <[email protected]>
+
+        Fix WinCairo build
+
+        * DumpRenderTree/cairo/PixelDumpSupportCairo.h:
+        (BitmapContext::createByAdoptingBitmapAndContext):
+        (BitmapContext::~BitmapContext):
+
 2016-06-08  Benjamin Poulain  <[email protected]>
 
         [JSC] Change some parameters based on a random search

Modified: trunk/Tools/DumpRenderTree/cairo/PixelDumpSupportCairo.h (201843 => 201844)


--- trunk/Tools/DumpRenderTree/cairo/PixelDumpSupportCairo.h	2016-06-08 23:17:11 UTC (rev 201843)
+++ trunk/Tools/DumpRenderTree/cairo/PixelDumpSupportCairo.h	2016-06-08 23:19:34 UTC (rev 201844)
@@ -27,10 +27,8 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef PixelDumpSupportCairo_h
-#define PixelDumpSupportCairo_h
+#pragma once
 
-#include <wtf/PassRefPtr.h>
 #include <wtf/RefCounted.h>
 
 #if PLATFORM(WIN)
@@ -48,9 +46,9 @@
 
 class BitmapContext : public RefCounted<BitmapContext> {
 public:
-    static PassRefPtr<BitmapContext> createByAdoptingBitmapAndContext(PlatformBitmapBuffer buffer, cairo_t* context)
+    static Ref<BitmapContext> createByAdoptingBitmapAndContext(PlatformBitmapBuffer buffer, cairo_t* context)
     {
-        return adoptRef(new BitmapContext(buffer, context));
+        return adoptRef(*new BitmapContext(buffer, context));
     }
 
     ~BitmapContext()
@@ -77,5 +75,3 @@
     PlatformBitmapBuffer m_buffer;
     cairo_t* m_context;
 };
-
-#endif // PixelDumpSupportCairo_h
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to