2011-11-10 Nikolas Zimmermann <nzimmermann@rim.com>
authorzimmermann@webkit.org <zimmermann@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 10 Nov 2011 15:40:37 +0000 (15:40 +0000)
committerzimmermann@webkit.org <zimmermann@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 10 Nov 2011 15:40:37 +0000 (15:40 +0000)
        Not reviewed. Rolling out part of r99854, which didn't belong there.

        * svg/graphics/SVGImage.cpp:
        (WebCore::SVGImage::drawSVGToImageBuffer):

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

Source/WebCore/ChangeLog
Source/WebCore/svg/graphics/SVGImage.cpp

index 51e1e91..fba4b04 100644 (file)
@@ -1,5 +1,12 @@
 2011-11-10  Nikolas Zimmermann  <nzimmermann@rim.com>
 
+        Not reviewed. Rolling out part of r99854, which didn't belong there.
+
+        * svg/graphics/SVGImage.cpp:
+        (WebCore::SVGImage::drawSVGToImageBuffer):
+
+2011-11-10  Nikolas Zimmermann  <nzimmermann@rim.com>
+
         Move unit resolving for all resources to rendering/
         https://bugs.webkit.org/show_bug.cgi?id=72011
 
index 7db6df8..9466a66 100644 (file)
@@ -158,9 +158,6 @@ void SVGImage::drawSVGToImageBuffer(ImageBuffer* buffer, const IntSize& size, fl
     ASSERT(buffer);
     ASSERT(!size.isEmpty());
 
-    if (!m_page)
-        return;
-
     Frame* frame = m_page->mainFrame();
     SVGSVGElement* rootElement = static_cast<SVGDocument*>(frame->document())->rootElement();
     if (!rootElement)