Skip to content

Instantly share code, notes, and snippets.

@Downchuck
Created July 23, 2012 01:19
Show Gist options
  • Save Downchuck/3161589 to your computer and use it in GitHub Desktop.
Save Downchuck/3161589 to your computer and use it in GitHub Desktop.
my mistake
In this case:
"__ZN7WebCore10CanvasPathC1ERNS_4PathE", referenced from:
__ZN7WebCore10CanvasPath6createERNS_4PathE in CanvasRenderingContext2D.o
There's clearly *something* wrong with my call to the CanvasPath() object.
+ RefPtr<CanvasPath> canvaspath = CanvasPath::create(m_path);
Which directs over to this one:
+ class CanvasPath : public RefCounted<CanvasPath> {
+ public:
+ static PassRefPtr<CanvasPath> create(Path& m_path)
+ {
+ return adoptRef(new CanvasPath(m_path));
+ }
+ Path path() const { return m_path; }
+
+ private:
+ CanvasPath(Path &);
+ Path m_path;
+ };
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment