Changeset 31139 in webkit
- Timestamp:
- Mar 18, 2008, 3:30:00 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/svg/graphics/SVGImage.cpp
r30951 r31139 71 71 return; 72 72 73 if (!m_frame || !m_frame->document()) 74 return; 73 75 SVGSVGElement* rootElement = static_cast<SVGDocument*>(m_frame->document())->rootElement(); 74 76 if (!rootElement) … … 80 82 bool SVGImage::usesContainerSize() const 81 83 { 84 if (!m_frame || !m_frame->document()) 85 return false; 82 86 SVGSVGElement* rootElement = static_cast<SVGDocument*>(m_frame->document())->rootElement(); 83 87 if (!rootElement) … … 115 119 bool SVGImage::hasRelativeWidth() const 116 120 { 121 if (!m_frame || !m_frame->document()) 122 return false; 117 123 SVGSVGElement* rootElement = static_cast<SVGDocument*>(m_frame->document())->rootElement(); 118 124 if (!rootElement) … … 124 130 bool SVGImage::hasRelativeHeight() const 125 131 { 132 if (!m_frame || !m_frame->document()) 133 return false; 126 134 SVGSVGElement* rootElement = static_cast<SVGDocument*>(m_frame->document())->rootElement(); 127 135 if (!rootElement)
Note:
See TracChangeset
for help on using the changeset viewer.