Changeset 87534 in webkit


Ignore:
Timestamp:
May 27, 2011 12:32:57 PM (13 years ago)
Author:
Nikolas Zimmermann
Message:

2011-05-27 Nikolas Zimmermann <nzimmermann@rim.com>

Rubber-stamped by Rob Buis.

embedded SVG object doesn't scale right
https://bugs.webkit.org/show_bug.cgi?id=10526

Fixes crash in svg/custom/immutable-properties.html, seen on the bots.

  • svg/SVGLength.cpp: (WebCore::SVGLength::determineViewport): Oops forgot to merge-in a null check before landing.
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r87526 r87534  
     12011-05-27  Nikolas Zimmermann  <nzimmermann@rim.com>
     2
     3        Rubber-stamped by Rob Buis.
     4
     5        embedded SVG object doesn't scale right
     6        https://bugs.webkit.org/show_bug.cgi?id=10526
     7
     8        Fixes crash in svg/custom/immutable-properties.html, seen on the bots.
     9
     10        * svg/SVGLength.cpp:
     11        (WebCore::SVGLength::determineViewport): Oops forgot to merge-in a null check before landing.
     12
    1132011-05-27  Nikolas Zimmermann  <nzimmermann@rim.com>
    214
  • trunk/Source/WebCore/svg/SVGLength.cpp

    r87526 r87534  
    322322        if (context->isSVG()) {
    323323            Frame* frame = context->document() ? context->document()->frame() : 0;
     324            if (!frame)
     325                return false;
     326
    324327            if (RenderPart* ownerRenderer = frame->ownerRenderer()) {
    325328                width = ownerRenderer->width();
Note: See TracChangeset for help on using the changeset viewer.