[webkit-changes] cvs commit: SVGSupport/ksvg2/svg
SVGAnimateColorElementImpl.cpp SVGAnimateTransformElementImpl.cpp
SVGAnimationElementImpl.cpp SVGDocumentImpl.cpp
SVGLocatableImpl.cpp SVGMarkerElementImpl.cpp
SVGPatternElementImpl.cpp SVGSVGElementImpl.cpp
SVGScriptElementImpl.cpp SVGStyledTransformableElementImpl.cpp
Maciej
mjs at opensource.apple.com
Fri Dec 2 14:44:29 PST 2005
mjs 05/12/02 14:44:29
Modified: . ChangeLog
ksvg2/misc KSVGTimeScheduler.cpp
ksvg2/svg SVGAnimateColorElementImpl.cpp
SVGAnimateTransformElementImpl.cpp
SVGAnimationElementImpl.cpp SVGDocumentImpl.cpp
SVGLocatableImpl.cpp SVGMarkerElementImpl.cpp
SVGPatternElementImpl.cpp SVGSVGElementImpl.cpp
SVGScriptElementImpl.cpp
SVGStyledTransformableElementImpl.cpp
Log:
SVG build fix, not reviewed.
- land the ksvg2 part of my SharedPtr --> RefPtr change, which I
forgot about before.
* ksvg2/misc/KSVGTimeScheduler.cpp:
(KSVG::SVGTimer::notifyAll):
* ksvg2/svg/SVGAnimateColorElementImpl.cpp:
(SVGAnimateColorElementImpl::handleTimerEvent):
* ksvg2/svg/SVGAnimateTransformElementImpl.cpp:
(SVGAnimateTransformElementImpl::handleTimerEvent):
(SVGAnimateTransformElementImpl::parseTransformValue):
(SVGAnimateTransformElementImpl::initialMatrix):
* ksvg2/svg/SVGAnimationElementImpl.cpp:
(SVGAnimationElementImpl::parseMappedAttribute):
* ksvg2/svg/SVGDocumentImpl.cpp:
(SVGDocumentImpl::~SVGDocumentImpl):
(SVGDocumentImpl::dispatchZoomEvent):
(SVGDocumentImpl::dispatchScrollEvent):
(SVGDocumentImpl::dispatchKeyEvent):
(SVGDocumentImpl::executeScripts):
(SVGDocumentImpl::dispatchUIEvent):
(SVGDocumentImpl::dispatchMouseEvent):
* ksvg2/svg/SVGLocatableImpl.cpp:
(SVGLocatableImpl::getCTM):
(SVGLocatableImpl::getScreenCTM):
* ksvg2/svg/SVGMarkerElementImpl.cpp:
(SVGMarkerElementImpl::canvasResource):
* ksvg2/svg/SVGPatternElementImpl.cpp:
(SVGPatternElementImpl::drawPatternContentIntoTile):
(SVGPatternElementImpl::getCTM):
* ksvg2/svg/SVGSVGElementImpl.cpp:
(SVGSVGElementImpl::viewport):
(SVGSVGElementImpl::checkIntersection):
(SVGSVGElementImpl::checkEnclosure):
(SVGSVGElementImpl::getCTM):
(SVGSVGElementImpl::getScreenCTM):
* ksvg2/svg/SVGScriptElementImpl.cpp:
(SVGScriptElementImpl::executeScript):
* ksvg2/svg/SVGStyledTransformableElementImpl.cpp:
(SVGStyledTransformableElementImpl::updateLocalTransform):
Revision Changes Path
1.456 +44 -0 WebCore/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /cvs/root/WebCore/ChangeLog,v
retrieving revision 1.455
retrieving revision 1.456
diff -u -r1.455 -r1.456
--- ChangeLog 2 Dec 2005 21:17:59 -0000 1.455
+++ ChangeLog 2 Dec 2005 22:44:25 -0000 1.456
@@ -1,3 +1,47 @@
+2005-12-01 Maciej Stachowiak <mjs at apple.com>
+
+ SVG build fix, not reviewed.
+
+ - land the ksvg2 part of my SharedPtr --> RefPtr change, which I
+ forgot about before.
+
+ * ksvg2/misc/KSVGTimeScheduler.cpp:
+ (KSVG::SVGTimer::notifyAll):
+ * ksvg2/svg/SVGAnimateColorElementImpl.cpp:
+ (SVGAnimateColorElementImpl::handleTimerEvent):
+ * ksvg2/svg/SVGAnimateTransformElementImpl.cpp:
+ (SVGAnimateTransformElementImpl::handleTimerEvent):
+ (SVGAnimateTransformElementImpl::parseTransformValue):
+ (SVGAnimateTransformElementImpl::initialMatrix):
+ * ksvg2/svg/SVGAnimationElementImpl.cpp:
+ (SVGAnimationElementImpl::parseMappedAttribute):
+ * ksvg2/svg/SVGDocumentImpl.cpp:
+ (SVGDocumentImpl::~SVGDocumentImpl):
+ (SVGDocumentImpl::dispatchZoomEvent):
+ (SVGDocumentImpl::dispatchScrollEvent):
+ (SVGDocumentImpl::dispatchKeyEvent):
+ (SVGDocumentImpl::executeScripts):
+ (SVGDocumentImpl::dispatchUIEvent):
+ (SVGDocumentImpl::dispatchMouseEvent):
+ * ksvg2/svg/SVGLocatableImpl.cpp:
+ (SVGLocatableImpl::getCTM):
+ (SVGLocatableImpl::getScreenCTM):
+ * ksvg2/svg/SVGMarkerElementImpl.cpp:
+ (SVGMarkerElementImpl::canvasResource):
+ * ksvg2/svg/SVGPatternElementImpl.cpp:
+ (SVGPatternElementImpl::drawPatternContentIntoTile):
+ (SVGPatternElementImpl::getCTM):
+ * ksvg2/svg/SVGSVGElementImpl.cpp:
+ (SVGSVGElementImpl::viewport):
+ (SVGSVGElementImpl::checkIntersection):
+ (SVGSVGElementImpl::checkEnclosure):
+ (SVGSVGElementImpl::getCTM):
+ (SVGSVGElementImpl::getScreenCTM):
+ * ksvg2/svg/SVGScriptElementImpl.cpp:
+ (SVGScriptElementImpl::executeScript):
+ * ksvg2/svg/SVGStyledTransformableElementImpl.cpp:
+ (SVGStyledTransformableElementImpl::updateLocalTransform):
+
2005-12-02 Vicki Murley <vicki at apple.com>
Reviewed by Darin.
1.11 +5 -5 SVGSupport/ksvg2/misc/KSVGTimeScheduler.cpp
Index: KSVGTimeScheduler.cpp
===================================================================
RCS file: /cvs/root/SVGSupport/ksvg2/misc/KSVGTimeScheduler.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- KSVGTimeScheduler.cpp 26 Nov 2005 22:19:03 -0000 1.10
+++ KSVGTimeScheduler.cpp 2 Dec 2005 22:44:27 -0000 1.11
@@ -176,7 +176,7 @@
Q3PtrList<SVGAnimationElementImpl>::Iterator end = tit.data().end();
QMap<QString, QColor> targetColor; // special <animateColor> case
- SharedPtr<SVGTransformListImpl> targetTransforms; // special <animateTransform> case
+ RefPtr<SVGTransformListImpl> targetTransforms; // special <animateTransform> case
for(; it != end; ++it)
{
@@ -207,12 +207,12 @@
if(!animTransform)
continue;
- SharedPtr<SVGMatrixImpl> transformMatrix = animTransform->transformMatrix();
+ RefPtr<SVGMatrixImpl> transformMatrix = animTransform->transformMatrix();
if(!transformMatrix)
continue;
- SharedPtr<SVGMatrixImpl> initialMatrix = animTransform->initialMatrix();
- SharedPtr<SVGTransformImpl> data = new SVGTransformImpl();
+ RefPtr<SVGMatrixImpl> initialMatrix = animTransform->initialMatrix();
+ RefPtr<SVGTransformImpl> data = new SVGTransformImpl();
if(!targetTransforms) // lazy creation, only if needed.
{
@@ -220,7 +220,7 @@
if(animation->isAdditive() && initialMatrix)
{
- SharedPtr<SVGMatrixImpl> matrix = new SVGMatrixImpl(initialMatrix->qmatrix());
+ RefPtr<SVGMatrixImpl> matrix = new SVGMatrixImpl(initialMatrix->qmatrix());
data->setMatrix(matrix.get());
targetTransforms->appendItem(data.get());
1.9 +1 -1 SVGSupport/ksvg2/svg/SVGAnimateColorElementImpl.cpp
Index: SVGAnimateColorElementImpl.cpp
===================================================================
RCS file: /cvs/root/SVGSupport/ksvg2/svg/SVGAnimateColorElementImpl.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- SVGAnimateColorElementImpl.cpp 26 Nov 2005 22:19:03 -0000 1.8
+++ SVGAnimateColorElementImpl.cpp 2 Dec 2005 22:44:27 -0000 1.9
@@ -53,7 +53,7 @@
if(!m_connected)
{
// Save initial color... (needed for fill="remove" or additve="sum")
- SharedPtr<SVGColorImpl> temp = new SVGColorImpl();
+ RefPtr<SVGColorImpl> temp = new SVGColorImpl();
temp->setRGBColor(targetAttribute().impl());
m_initialColor = temp->color();
1.9 +4 -4 SVGSupport/ksvg2/svg/SVGAnimateTransformElementImpl.cpp
Index: SVGAnimateTransformElementImpl.cpp
===================================================================
RCS file: /cvs/root/SVGSupport/ksvg2/svg/SVGAnimateTransformElementImpl.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- SVGAnimateTransformElementImpl.cpp 26 Nov 2005 22:19:04 -0000 1.8
+++ SVGAnimateTransformElementImpl.cpp 2 Dec 2005 22:44:27 -0000 1.9
@@ -89,7 +89,7 @@
if(targetElement()->isStyledTransformable())
{
SVGStyledTransformableElementImpl *transform = static_cast<SVGStyledTransformableElementImpl *>(targetElement());
- SharedPtr<SVGTransformListImpl> transformList = transform->transform()->baseVal();
+ RefPtr<SVGTransformListImpl> transformList = transform->transform()->baseVal();
if (transformList)
{
for(unsigned long i = 0; i < transformList->numberOfItems(); i++)
@@ -350,7 +350,7 @@
}
}
-SharedPtr<SVGTransformImpl> SVGAnimateTransformElementImpl::parseTransformValue(const QString &data) const
+RefPtr<SVGTransformImpl> SVGAnimateTransformElementImpl::parseTransformValue(const QString &data) const
{
QString parse = data.stripWhiteSpace();
if(parse.isEmpty())
@@ -358,7 +358,7 @@
int commaPos = parse.find(','); // In case two values are passed...
- SharedPtr<SVGTransformImpl> parsedTransform = new SVGTransformImpl();
+ RefPtr<SVGTransformImpl> parsedTransform = new SVGTransformImpl();
switch(m_type)
{
@@ -485,7 +485,7 @@
if(!transformList)
return 0;
- SharedPtr<SVGTransformImpl> result = transformList->concatenate();
+ RefPtr<SVGTransformImpl> result = transformList->concatenate();
if(!result)
return 0;
1.12 +1 -1 SVGSupport/ksvg2/svg/SVGAnimationElementImpl.cpp
Index: SVGAnimationElementImpl.cpp
===================================================================
RCS file: /cvs/root/SVGSupport/ksvg2/svg/SVGAnimationElementImpl.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- SVGAnimationElementImpl.cpp 26 Nov 2005 22:19:04 -0000 1.11
+++ SVGAnimationElementImpl.cpp 2 Dec 2005 22:44:27 -0000 1.12
@@ -138,7 +138,7 @@
else if (attr->name() == SVGNames::beginAttr || attr->name() == SVGNames::endAttr)
{
// Create list
- SharedPtr<SVGStringListImpl> temp = new SVGStringListImpl();
+ RefPtr<SVGStringListImpl> temp = new SVGStringListImpl();
// Feed data into list
SVGHelper::ParseSeperatedList(temp.get(), value.qstring(), ';');
1.14 +7 -7 SVGSupport/ksvg2/svg/SVGDocumentImpl.cpp
Index: SVGDocumentImpl.cpp
===================================================================
RCS file: /cvs/root/SVGSupport/ksvg2/svg/SVGDocumentImpl.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- SVGDocumentImpl.cpp 26 Nov 2005 22:19:06 -0000 1.13
+++ SVGDocumentImpl.cpp 2 Dec 2005 22:44:27 -0000 1.14
@@ -78,7 +78,7 @@
//if(KDOM::DocumentImpl::hasListenerType(KDOM::UNLOAD_EVENT))
{
int exceptioncode;
- SharedPtr<KDOM::EventImpl> event = createEvent("SVGEvents", exceptioncode);
+ RefPtr<KDOM::EventImpl> event = createEvent("SVGEvents", exceptioncode);
event->initEvent(KDOM::EventNames::unloadEvent, false, false);
dispatchRecursiveEvent(event.get(), lastChild());
}
@@ -184,7 +184,7 @@
{
// dispatch zoom event
int exceptioncode;
- SharedPtr<SVGZoomEventImpl> event = static_cast<SVGZoomEventImpl *>(createEvent("SVGZoomEvents", exceptioncode));
+ RefPtr<SVGZoomEventImpl> event = static_cast<SVGZoomEventImpl *>(createEvent("SVGZoomEvents", exceptioncode));
event->initEvent(KDOM::EventNames::zoomEvent, true, false);
event->setPreviousScale(prevScale);
event->setNewScale(newScale);
@@ -195,7 +195,7 @@
{
// dispatch zoom event
int exceptioncode;
- SharedPtr<KDOM::EventImpl> event = createEvent("SVGEvents", exceptioncode);
+ RefPtr<KDOM::EventImpl> event = createEvent("SVGEvents", exceptioncode);
event->initEvent(KDOM::EventNames::scrollEvent, true, false);
rootElement()->dispatchEvent(event.get(), exceptioncode);
}
@@ -204,7 +204,7 @@
{
// dispatch key event
int exceptioncode;
- SharedPtr<KDOM::KeyboardEventImpl> keyEventImpl = static_cast<KDOM::KeyboardEventImpl *>(createEvent("KeyboardEvents", exceptioncode));
+ RefPtr<KDOM::KeyboardEventImpl> keyEventImpl = static_cast<KDOM::KeyboardEventImpl *>(createEvent("KeyboardEvents", exceptioncode));
//keyEventImpl->initKeyboardEvent(key);
target->dispatchEvent(keyEventImpl.get(), exceptioncode);
@@ -264,7 +264,7 @@
if(!m_scriptsIt->current())
{
int exceptioncode;
- SharedPtr<KDOM::EventImpl> event = createEvent("SVGEvents", exceptioncode);
+ RefPtr<KDOM::EventImpl> event = createEvent("SVGEvents", exceptioncode);
event->initEvent(KDOM::EventNames::loadEvent, false, false);
dispatchRecursiveEvent(event.get(), lastChild());
}
@@ -301,7 +301,7 @@
{
// Setup kdom 'UIEvent'...
int exceptioncode;
- SharedPtr<KDOM::UIEventImpl> event = static_cast<KDOM::UIEventImpl *>(createEvent("UIEvents", exceptioncode));
+ RefPtr<KDOM::UIEventImpl> event = static_cast<KDOM::UIEventImpl *>(createEvent("UIEvents", exceptioncode));
event->initUIEvent(type, true, true, 0, 0);
target->dispatchEvent(event.get(), exceptioncode);
}
@@ -310,7 +310,7 @@
{
// Setup kdom 'MouseEvent'...
int exceptioncode;
- SharedPtr<KDOM::MouseEventImpl> event = static_cast<KDOM::MouseEventImpl *>(createEvent("MouseEvents", exceptioncode));
+ RefPtr<KDOM::MouseEventImpl> event = static_cast<KDOM::MouseEventImpl *>(createEvent("MouseEvents", exceptioncode));
event->initEvent(type, true, true);
target->dispatchEvent(event.get(), exceptioncode);
}
1.11 +2 -2 SVGSupport/ksvg2/svg/SVGLocatableImpl.cpp
Index: SVGLocatableImpl.cpp
===================================================================
RCS file: /cvs/root/SVGSupport/ksvg2/svg/SVGLocatableImpl.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- SVGLocatableImpl.cpp 30 Nov 2005 11:49:40 -0000 1.10
+++ SVGLocatableImpl.cpp 2 Dec 2005 22:44:27 -0000 1.11
@@ -105,7 +105,7 @@
SVGElementImpl *parentElement = svg_dynamic_cast(parent);
if(parentElement && parentElement->isStyledLocatable())
{
- SharedPtr<SVGMatrixImpl> parentCTM = static_cast<SVGStyledLocatableElementImpl *>(parentElement)->getCTM();
+ RefPtr<SVGMatrixImpl> parentCTM = static_cast<SVGStyledLocatableElementImpl *>(parentElement)->getCTM();
ctm->multiply(parentCTM.get());
}
}
@@ -126,7 +126,7 @@
SVGElementImpl *parentElement = static_cast<SVGElementImpl *>(parent);
if(parentElement->isStyledLocatable())
{
- SharedPtr<SVGMatrixImpl> parentCTM = static_cast<SVGStyledLocatableElementImpl *>(parentElement)->getScreenCTM();
+ RefPtr<SVGMatrixImpl> parentCTM = static_cast<SVGStyledLocatableElementImpl *>(parentElement)->getScreenCTM();
ctm->multiply(parentCTM.get());
}
}
1.12 +1 -1 SVGSupport/ksvg2/svg/SVGMarkerElementImpl.cpp
Index: SVGMarkerElementImpl.cpp
===================================================================
RCS file: /cvs/root/SVGSupport/ksvg2/svg/SVGMarkerElementImpl.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- SVGMarkerElementImpl.cpp 29 Nov 2005 02:03:57 -0000 1.11
+++ SVGMarkerElementImpl.cpp 2 Dec 2005 22:44:27 -0000 1.12
@@ -169,7 +169,7 @@
m_marker->setUseStrokeWidth(markerUnits()->baseVal() == SVG_MARKERUNITS_STROKEWIDTH);
double w = markerWidth()->baseVal()->value();
double h = markerHeight()->baseVal()->value();
- SharedPtr<SVGMatrixImpl> viewBox = viewBoxToViewTransform(w, h);
+ RefPtr<SVGMatrixImpl> viewBox = viewBoxToViewTransform(w, h);
m_marker->setScale(viewBox->qmatrix().m11(), viewBox->qmatrix().m22());
return m_marker;
1.15 +3 -3 SVGSupport/ksvg2/svg/SVGPatternElementImpl.cpp
Index: SVGPatternElementImpl.cpp
===================================================================
RCS file: /cvs/root/SVGSupport/ksvg2/svg/SVGPatternElementImpl.cpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- SVGPatternElementImpl.cpp 27 Nov 2005 11:02:26 -0000 1.14
+++ SVGPatternElementImpl.cpp 2 Dec 2005 22:44:27 -0000 1.15
@@ -261,8 +261,8 @@
{
SVGSVGElementImpl *svgElement = static_cast<SVGSVGElementImpl *>(viewportElement());
- SharedPtr<SVGMatrixImpl> svgCTM = svgElement->getCTM();
- SharedPtr<SVGMatrixImpl> ctm = getCTM();
+ RefPtr<SVGMatrixImpl> svgCTM = svgElement->getCTM();
+ RefPtr<SVGMatrixImpl> ctm = getCTM();
KCanvasMatrix newMatrix(svgCTM->qmatrix());
newMatrix.multiply(savedMatrix);
@@ -380,7 +380,7 @@
SVGMatrixImpl *mat = SVGSVGElementImpl::createSVGMatrix();
if(mat)
{
- SharedPtr<SVGMatrixImpl> viewBox = viewBoxToViewTransform(width()->baseVal()->value(),
+ RefPtr<SVGMatrixImpl> viewBox = viewBoxToViewTransform(width()->baseVal()->value(),
height()->baseVal()->value());
mat->multiply(viewBox.get());
1.16 +5 -5 SVGSupport/ksvg2/svg/SVGSVGElementImpl.cpp
Index: SVGSVGElementImpl.cpp
===================================================================
RCS file: /cvs/root/SVGSupport/ksvg2/svg/SVGSVGElementImpl.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- SVGSVGElementImpl.cpp 28 Nov 2005 23:34:07 -0000 1.15
+++ SVGSVGElementImpl.cpp 2 Dec 2005 22:44:27 -0000 1.16
@@ -143,7 +143,7 @@
double _y = y()->baseVal()->value();
double w = width()->baseVal()->value();
double h = height()->baseVal()->value();
- SharedPtr<SVGMatrixImpl> viewBox = viewBoxToViewTransform(w, h);
+ RefPtr<SVGMatrixImpl> viewBox = viewBoxToViewTransform(w, h);
viewBox->qmatrix().map(_x, _y, &_x, &_y);
viewBox->qmatrix().map(w, h, &w, &h);
ret->setX(_x);
@@ -339,7 +339,7 @@
bool SVGSVGElementImpl::checkIntersection(SVGElementImpl *element, SVGRectImpl *rect)
{
// TODO : take into account pointer-events?
- SharedPtr<SVGRectImpl> bbox = getBBox();
+ RefPtr<SVGRectImpl> bbox = getBBox();
QRect r(int(rect->x()), int(rect->y()), int(rect->width()), int(rect->height()));
QRect r2(int(bbox->x()), int(bbox->y()), int(bbox->width()), int(bbox->height()));
@@ -350,7 +350,7 @@
bool SVGSVGElementImpl::checkEnclosure(SVGElementImpl *element, SVGRectImpl *rect)
{
// TODO : take into account pointer-events?
- SharedPtr<SVGRectImpl> bbox = getBBox();
+ RefPtr<SVGRectImpl> bbox = getBBox();
QRect r(int(rect->x()), int(rect->y()), int(rect->width()), int(rect->height()));
QRect r2(int(bbox->x()), int(bbox->y()), int(bbox->width()), int(bbox->height()));
@@ -417,7 +417,7 @@
if(attributes()->getNamedItem(SVGNames::viewBoxAttr))
{
- SharedPtr<SVGMatrixImpl> viewBox = viewBoxToViewTransform(width()->baseVal()->value(), height()->baseVal()->value());
+ RefPtr<SVGMatrixImpl> viewBox = viewBoxToViewTransform(width()->baseVal()->value(), height()->baseVal()->value());
mat->multiply(viewBox.get());
}
}
@@ -434,7 +434,7 @@
if(attributes()->getNamedItem(SVGNames::viewBoxAttr))
{
- SharedPtr<SVGMatrixImpl> viewBox = viewBoxToViewTransform(width()->baseVal()->value(), height()->baseVal()->value());
+ RefPtr<SVGMatrixImpl> viewBox = viewBoxToViewTransform(width()->baseVal()->value(), height()->baseVal()->value());
mat->multiply(viewBox.get());
}
}
1.12 +1 -1 SVGSupport/ksvg2/svg/SVGScriptElementImpl.cpp
Index: SVGScriptElementImpl.cpp
===================================================================
RCS file: /cvs/root/SVGSupport/ksvg2/svg/SVGScriptElementImpl.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- SVGScriptElementImpl.cpp 26 Nov 2005 22:19:15 -0000 1.11
+++ SVGScriptElementImpl.cpp 2 Dec 2005 22:44:27 -0000 1.12
@@ -95,7 +95,7 @@
SVGDocumentImpl *svgDocument = static_cast<SVGDocumentImpl *>(document);
if(svgDocument && document->hasListenerType(KDOM::ERROR_EVENT))
{
- SharedPtr<KDOM::EventImpl> event = svgDocument->createEvent("SVGEvents");
+ RefPtr<KDOM::EventImpl> event = svgDocument->createEvent("SVGEvents");
event->initEvent(KDOM::EventNames::errorEvent, false, false);
svgDocument->dispatchRecursiveEvent(event.get(), svgDocument->lastChild());
}
1.5 +1 -1 SVGSupport/ksvg2/svg/SVGStyledTransformableElementImpl.cpp
Index: SVGStyledTransformableElementImpl.cpp
===================================================================
RCS file: /cvs/root/SVGSupport/ksvg2/svg/SVGStyledTransformableElementImpl.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- SVGStyledTransformableElementImpl.cpp 26 Nov 2005 22:19:16 -0000 1.4
+++ SVGStyledTransformableElementImpl.cpp 2 Dec 2005 22:44:27 -0000 1.5
@@ -82,7 +82,7 @@
void SVGStyledTransformableElementImpl::updateLocalTransform(SVGTransformListImpl *localTransforms)
{
// Update cached local matrix
- SharedPtr<SVGTransformImpl> localTransform = localTransforms->concatenate();
+ RefPtr<SVGTransformImpl> localTransform = localTransforms->concatenate();
if(localTransform) {
m_localMatrix = localTransform->matrix();
if (renderer()) {
More information about the webkit-changes
mailing list