Windows build fix
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 12 Jul 2009 23:48:40 +0000 (23:48 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 12 Jul 2009 23:48:40 +0000 (23:48 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@45781 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/platform/graphics/cg/PDFDocumentImage.cpp

index 24709b9..a8d03c0 100644 (file)
@@ -1,5 +1,12 @@
 2009-07-12  Dan Bernstein  <mitz@apple.com>
 
+        - Windows build fix
+
+        * platform/graphics/cg/PDFDocumentImage.cpp:
+        (WebCore::PDFDocumentImage::dataChanged):
+
+2009-07-12  Dan Bernstein  <mitz@apple.com>
+
         Reviewed by Sam Weinig.
 
         - Image cleanup
index 257b991..858b18e 100644 (file)
@@ -72,7 +72,7 @@ bool PDFDocumentImage::dataChanged(bool allDataReceived)
 #else
         // If no NSData is available, then we know SharedBuffer will always just be a vector.  That means no secret changes can occur to it behind the
         // scenes.  We use CFDataCreateWithBytesNoCopy in that case.
-        CFDataRef data = CFDataCreateWithBytesNoCopy(0, reinterpret_cast<const UInt8*>(data()->data()), data()->size(), kCFAllocatorNull);
+        CFDataRef data = CFDataCreateWithBytesNoCopy(0, reinterpret_cast<const UInt8*>(this->data()->data()), this->data()->size(), kCFAllocatorNull);
 #endif
         CGDataProviderRef dataProvider = CGDataProviderCreateWithCFData(data);
         CFRelease(data);