summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/SVG/SVGPathElement.cpp
diff options
context:
space:
mode:
authorasynts <asynts@gmail.com>2021-01-17 18:17:00 +0100
committerAndreas Kling <kling@serenityos.org>2021-01-22 22:14:30 +0100
commit3f23a58fa1a0de922e36d82adccfccfb78b4049f (patch)
tree04fecee8357ad30cf6bf03ac5cbc3fdf061bbe83 /Userland/Libraries/LibWeb/SVG/SVGPathElement.cpp
parent7d783d8b84f8c55fd30af867437734a732fcfc17 (diff)
downloadserenity-3f23a58fa1a0de922e36d82adccfccfb78b4049f.zip
Everywhere: Replace a bundle of dbg with dbgln.
These changes are arbitrarily divided into multiple commits to make it easier to find potentially introduced bugs with git bisect.
Diffstat (limited to 'Userland/Libraries/LibWeb/SVG/SVGPathElement.cpp')
-rw-r--r--Userland/Libraries/LibWeb/SVG/SVGPathElement.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/Userland/Libraries/LibWeb/SVG/SVGPathElement.cpp b/Userland/Libraries/LibWeb/SVG/SVGPathElement.cpp
index 5a3c01fc4c..e5812a4f30 100644
--- a/Userland/Libraries/LibWeb/SVG/SVGPathElement.cpp
+++ b/Userland/Libraries/LibWeb/SVG/SVGPathElement.cpp
@@ -24,6 +24,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include <AK/Debug.h>
#include <AK/StringBuilder.h>
#include <LibGfx/Painter.h>
#include <LibGfx/Path.h>
@@ -33,8 +34,6 @@
#include <LibWeb/SVG/SVGPathElement.h>
#include <ctype.h>
-//#define PATH_DEBUG
-
namespace Web::SVG {
#ifdef PATH_DEBUG
@@ -136,7 +135,7 @@ void PathDataParser::parse_drawto()
} else if (match('A') || match('a')) {
parse_elliptical_arc();
} else {
- dbg() << "PathDataParser::parse_drawto failed to match: '" << ch() << "'";
+ dbgln("PathDataParser::parse_drawto failed to match: '{}'", ch());
TODO();
}
}