Changeset 12777 in webkit


Ignore:
Timestamp:
Feb 12, 2006 9:27:27 PM (18 years ago)
Author:
darin
Message:

Reviewed by Hyatt.

Test: fast/replaced/page-as-image.html

  • platform/Image.cpp: (WebCore::Image::setNativeData): Return false in the case where the PDF document has not been created yet.
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r12774 r12777  
     12006-02-12  Darin Adler  <darin@apple.com>
     2
     3        Reviewed by Hyatt.
     4
     5        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7206
     6          REGRESSION: PDF "images" no longer render within HTML pages
     7
     8        Test: fast/replaced/page-as-image.html
     9
     10        * platform/Image.cpp: (WebCore::Image::setNativeData):
     11        Return false in the case where the PDF document has not been created yet.
     12
    1132006-02-12  Darin Adler  <darin@apple.com>
    214
  • trunk/WebCore/platform/Image.cpp

    r12748 r12777  
    166166        if (allDataReceived && !m_PDFDoc)
    167167            m_PDFDoc = new PDFDocumentImage((NSData*)data);
    168         return true;
     168        return m_PDFDoc;
    169169    }
    170170#endif
Note: See TracChangeset for help on using the changeset viewer.