Unreviewed: Chromium build fix.
authorjparent@chromium.org <jparent@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 16 Feb 2010 22:56:50 +0000 (22:56 +0000)
committerjparent@chromium.org <jparent@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 16 Feb 2010 22:56:50 +0000 (22:56 +0000)
http://trac.webkit.org/changeset/54823 introduced an unused variable.  Remove it.

* platform/image-decoders/ImageDecoder.cpp:
(WebCore::ImageDecoder::create):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@54836 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/platform/image-decoders/ImageDecoder.cpp

index 08fb4ad0851b952c20bc1b2fe0250e2c3e349c1b..cdec43df284a8ea2907fce99d138c280b056ffa5 100644 (file)
@@ -1,3 +1,12 @@
+2010-02-16  Julie Parent  <jparent@chromium.org>
+
+        Unreviewed: Chromium build fix.
+
+        http://trac.webkit.org/changeset/54823 introduced an unused variable.  Remove it.
+
+        * platform/image-decoders/ImageDecoder.cpp:
+        (WebCore::ImageDecoder::create):
+
 2010-02-16  Mark Rowe  <mrowe@apple.com>
 
         Reviewed by Alexey Proskuryakov.
index 2acf98ec2946723c45d1148fd985e23fa361ca33..cc62126f8177abfff004c5cf6a7a0d5a1fce6185 100644 (file)
@@ -62,8 +62,6 @@ ImageDecoder* ImageDecoder::create(const SharedBuffer& data)
     if (length < maxMarkerLength)
         return 0;
 
-    const unsigned char* uContents = reinterpret_cast<const unsigned char*>(contents);
-
     // GIFs begin with GIF8(7 or 9).
     if (strncmp(contents, "GIF8", 4) == 0)
         return new GIFImageDecoder();