Bug 22793 - Clean up FloatPoint3D
Summary: Clean up FloatPoint3D
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-10 11:31 PST by Simon Fraser (smfr)
Modified: 2008-12-10 12:03 PST (History)
0 users

See Also:


Attachments
Patch, changelog (2.80 KB, patch)
2008-12-10 11:40 PST, Simon Fraser (smfr)
sam: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2008-12-10 11:31:09 PST
Want to do some cleanup of FloatPoint3D.
Comment 1 Simon Fraser (smfr) 2008-12-10 11:40:13 PST
Created attachment 25922 [details]
Patch, changelog
Comment 2 Sam Weinig 2008-12-10 11:56:12 PST
Comment on attachment 25922 [details]
Patch, changelog

> +FloatPoint3D::FloatPoint3D(const FloatPoint& p)
> +    : m_x(p.x())
> +    , m_y(p.y())
> +    , m_z(0.f)
This should be m_z(0.0f) or just 0.

>  
> +#include "FloatPoint.h"

Can this simply be forward declared?

Otherwise, r=me.
Comment 3 Simon Fraser (smfr) 2008-12-10 12:03:55 PST
Committing to http://svn.webkit.org/repository/webkit/trunk ...
	M	WebCore/ChangeLog
	M	WebCore/platform/graphics/FloatPoint3D.cpp
	M	WebCore/platform/graphics/FloatPoint3D.h
Committed r39181