aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/xml
diff options
context:
space:
mode:
authorGravatar Hal Canary <halcanary@google.com>2018-06-11 21:44:01 -0400
committerGravatar Mike Klein <mtklein@google.com>2018-06-12 15:03:21 +0000
commit2a2f67592602b18527bc3fd449132d420cd5b62e (patch)
tree0f6078db2af3b904f08e8cc0118055bf1db621a5 /src/xml
parent7c525e62d405d57ae7a7742cf607b9770a83a0ab (diff)
SkTypes: extract SkTo
Change-Id: I8de790d5013db2105ad885fa2683303d7c250b09 Reviewed-on: https://skia-review.googlesource.com/133620 Reviewed-by: Mike Klein <mtklein@google.com>
Diffstat (limited to 'src/xml')
-rw-r--r--src/xml/SkDOM.cpp3
-rw-r--r--src/xml/SkXMLParser.cpp4
-rw-r--r--src/xml/SkXMLWriter.cpp2
3 files changed, 7 insertions, 2 deletions
diff --git a/src/xml/SkDOM.cpp b/src/xml/SkDOM.cpp
index 2e37dd7807..e6c343515f 100644
--- a/src/xml/SkDOM.cpp
+++ b/src/xml/SkDOM.cpp
@@ -5,9 +5,10 @@
* found in the LICENSE file.
*/
-
#include "SkDOM.h"
+
#include "SkStream.h"
+#include "SkTo.h"
#include "SkXMLParser.h"
#include "SkXMLWriter.h"
diff --git a/src/xml/SkXMLParser.cpp b/src/xml/SkXMLParser.cpp
index 23c4e672b5..36e1ab3ea0 100644
--- a/src/xml/SkXMLParser.cpp
+++ b/src/xml/SkXMLParser.cpp
@@ -5,12 +5,14 @@
* found in the LICENSE file.
*/
+#include "SkXMLParser.h"
+
#include "expat.h"
#include "SkStream.h"
#include "SkString.h"
+#include "SkTo.h"
#include "SkTypes.h"
-#include "SkXMLParser.h"
static char const* const gErrorStrings[] = {
"empty or missing file ",
diff --git a/src/xml/SkXMLWriter.cpp b/src/xml/SkXMLWriter.cpp
index 67dcf59d1d..0be9c5560a 100644
--- a/src/xml/SkXMLWriter.cpp
+++ b/src/xml/SkXMLWriter.cpp
@@ -6,7 +6,9 @@
*/
#include "SkXMLWriter.h"
+
#include "SkStream.h"
+#include "SkTo.h"
SkXMLWriter::SkXMLWriter(bool doEscapeMarkup) : fDoEscapeMarkup(doEscapeMarkup)
{}