Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(862)

Unified Diff: Source/core/svg/SVGPathStringSource.h

Issue 760603002: Allow SVGPathStringSource to be allocated on the stack (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/svg/SVGPathUtilities.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPathStringSource.h
diff --git a/Source/core/svg/SVGPathStringSource.h b/Source/core/svg/SVGPathStringSource.h
index ec8dba7490ef47d0372c728f98d56aaf297a2a2e..5b918206c95c28942dbaee09d1193cc5c0bf632b 100644
--- a/Source/core/svg/SVGPathStringSource.h
+++ b/Source/core/svg/SVGPathStringSource.h
@@ -29,14 +29,9 @@ namespace blink {
class SVGPathStringSource final : public SVGPathSource {
public:
- static PassOwnPtrWillBeRawPtr<SVGPathStringSource> create(const String& string)
- {
- return adoptPtrWillBeNoop(new SVGPathStringSource(string));
- }
-
-private:
explicit SVGPathStringSource(const String&);
+private:
virtual bool hasMoreData() const override;
virtual bool moveToNextToken() override;
virtual bool parseSVGSegmentType(SVGPathSegType&) override;
« no previous file with comments | « no previous file | Source/core/svg/SVGPathUtilities.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698