WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
26680
ENABLE_SVG=0 doesn't build
https://bugs.webkit.org/show_bug.cgi?id=26680
Summary
ENABLE_SVG=0 doesn't build
Yong Li
Reported
2009-06-24 07:18:45 PDT
1. TransformationMatrix::mapPoint(const FloatPoint3D&) relies on ENABLE(SVG) #if ENABLE(SVG) // Map a 3D point through the transform, returning a 3D point. FloatPoint3D mapPoint(const FloatPoint3D&) const; #endif 2. computeZOffset(const HitTestingTransformState& transformState) calls TransformationMatrix::mapPoint(const FloatPoint3D&) without checking ENABLE(SVG) Solutions: a) remove #if ENABLE(SVG) from TransformationMatrix or, b) add #if ENABLE(SVG) to computeZOffset()
Attachments
Add attachment
proposed patch, testcase, etc.
Rob Buis
Comment 1
2009-07-06 12:56:54 PDT
It compiled fine on OS X for me, should we close this? Cheers, Rob.
Yong Li
Comment 2
2009-07-06 13:06:43 PDT
weird. How could it happen? // (no ENABLE(SVG) check here) FloatPoint3D backmappedPoint = transformState.m_accumulatedTransform.mapPoint(FloatPoint3D(targetPoint)); class TransformationMatrix { ... #if ENABLE(SVG) // Map a 3D point through the transform, returning a 3D point. FloatPoint3D mapPoint(const FloatPoint3D&) const; #endif ... };
Dirk Schulze
Comment 3
2009-12-15 10:47:12 PST
(In reply to
comment #2
)
> weird. How could it happen? > > // (no ENABLE(SVG) check here) > FloatPoint3D backmappedPoint = > transformState.m_accumulatedTransform.mapPoint(FloatPoint3D(targetPoint)); > > > class TransformationMatrix > { > ... > #if ENABLE(SVG) > // Map a 3D point through the transform, returning a 3D point. > FloatPoint3D mapPoint(const FloatPoint3D&) const; > #endif > ... > };
TransformationMatrix has no relation to SVG. WebKit compiles here without svg. I'm closing this bug now.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug