Fix Win32 build bustage.
authorhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 12 Jun 2006 19:53:53 +0000 (19:53 +0000)
committerhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 12 Jun 2006 19:53:53 +0000 (19:53 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14822 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/platform/cairo/ImageCairo.cpp
WebCore/platform/image-decoders/gif/GIFImageDecoder.cpp
WebCore/platform/win/TemporaryLinkStubs.cpp

index dd8370b52759df3ace458bbb318e236b149ba936..ba8c32a8151922af02b90d33d7887cf84014716f 100644 (file)
@@ -66,7 +66,7 @@ Image* Image::loadResource(const char *name)
 {
     Vector<char> arr = loadResourceIntoArray(name);
     Image* img = new Image;
-    img->setData(arr, true);
+    img->setNativeData(&arr, true);
     return img;
 }
 
index 1913d501ad641b45c419fc732bdb6178233afe86..f54304465ab60870a7b129cb18364f3e53ac3cba 100644 (file)
@@ -214,7 +214,7 @@ void GIFImageDecoder::initFrameBuffer(RGBA32Buffer& buffer,
     // anything outside our frame's rect, so if we don't overlay the entire image,
     // then also composite with the previous frame.
     if (previousBuffer && (compositeWithPreviousFrame || isSubRect)) {
-        bytes.duplicate(previousBuffer->bytes());
+        bytes = previousBuffer->bytes();
         buffer.ensureHeight(m_size.height());
         buffer.setHasAlpha(previousBuffer->hasAlpha());
     }
index d16cc0f35453c101e8e73384bb2d297144941502..a49c091357786183e2eb6668328cd595d6a9fbbd 100644 (file)
@@ -230,6 +230,7 @@ void WebCore::findWordBoundary(UChar const* str,int len,int position,int* start,
 
 PluginInfo*PlugInInfoStore::createPluginInfoForPluginAtIndex(unsigned) { return 0;}
 unsigned PlugInInfoStore::pluginCount() const { return 0; }
+bool WebCore::PlugInInfoStore::supportsMIMEType(const WebCore::String&) { return false; }
 void WebCore::refreshPlugins(bool) { }
 
 void WebCore::TransferJob::assembleResponseHeaders() const { }