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

Side by Side Diff: Source/core/svg/SVGPathBuilder.h

Issue 1212253012: Fix virtual/override/final usage in Source/core/svg/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 months 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2002, 2003 The Karbon Developers 2 * Copyright (C) 2002, 2003 The Karbon Developers
3 * Copyright (C) 2006 Alexander Kellett <lypanov@kde.org> 3 * Copyright (C) 2006 Alexander Kellett <lypanov@kde.org>
4 * Copyright (C) 2006, 2007 Rob Buis <buis@kde.org> 4 * Copyright (C) 2006, 2007 Rob Buis <buis@kde.org>
5 * Copyright (C) 2007, 2009 Apple Inc. All rights reserved. 5 * Copyright (C) 2007, 2009 Apple Inc. All rights reserved.
6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 17 matching lines...) Expand all
28 28
29 namespace blink { 29 namespace blink {
30 30
31 class Path; 31 class Path;
32 32
33 class SVGPathBuilder final : public SVGPathConsumer { 33 class SVGPathBuilder final : public SVGPathConsumer {
34 public: 34 public:
35 SVGPathBuilder(Path& path) : m_path(path), m_closed(true) { } 35 SVGPathBuilder(Path& path) : m_path(path), m_closed(true) { }
36 36
37 private: 37 private:
38 virtual void incrementPathSegmentCount() override { } 38 void incrementPathSegmentCount() override { }
39 virtual bool continueConsuming() override { return true; } 39 bool continueConsuming() override { return true; }
40 40
41 virtual void emitSegment(const PathSegmentData&) override; 41 void emitSegment(const PathSegmentData&) override;
42 42
43 Path& m_path; 43 Path& m_path;
44 bool m_closed; 44 bool m_closed;
45 }; 45 };
46 46
47 } // namespace blink 47 } // namespace blink
48 48
49 #endif // SVGPathBuilder_h 49 #endif // SVGPathBuilder_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698