diff options
author | asynts <asynts@gmail.com> | 2021-01-17 18:17:00 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-01-22 22:14:30 +0100 |
commit | 3f23a58fa1a0de922e36d82adccfccfb78b4049f (patch) | |
tree | 04fecee8357ad30cf6bf03ac5cbc3fdf061bbe83 /Userland/Libraries/LibWeb/SVG/SVGPathElement.cpp | |
parent | 7d783d8b84f8c55fd30af867437734a732fcfc17 (diff) | |
download | serenity-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.cpp | 5 |
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(); } } |