aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/xml
diff options
context:
space:
mode:
authorGravatar Hal Canary <halcanary@google.com>2018-06-13 09:42:32 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-06-13 13:45:47 +0000
commitfdcfb8b7c23fbf18f872d2c31d27978235033876 (patch)
tree3e3ad1c6ffe8647f45b08a560ab99384437dc2ba /src/xml
parentbb9ee9b4aa7d80e8a85832a462a3123060d4bd64 (diff)
Revert "SkTypes: extract SkTo"
This reverts commit 2a2f67592602b18527bc3fd449132d420cd5b62e. Reason for revert: this appears to be what is holding up the Chrome roll. Original change's description: > SkTypes: extract SkTo > > Change-Id: I8de790d5013db2105ad885fa2683303d7c250b09 > Reviewed-on: https://skia-review.googlesource.com/133620 > Reviewed-by: Mike Klein <mtklein@google.com> TBR=mtklein@google.com,halcanary@google.com No-Presubmit: true No-Tree-Checks: true No-Try: true Change-Id: Iafd738aedfb679a23c061a51afe4b98a8d4cdfae Reviewed-on: https://skia-review.googlesource.com/134504 Reviewed-by: Hal Canary <halcanary@google.com> Commit-Queue: Hal Canary <halcanary@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, 2 insertions, 7 deletions
diff --git a/src/xml/SkDOM.cpp b/src/xml/SkDOM.cpp
index e6c343515f..2e37dd7807 100644
--- a/src/xml/SkDOM.cpp
+++ b/src/xml/SkDOM.cpp
@@ -5,10 +5,9 @@
* found in the LICENSE file.
*/
-#include "SkDOM.h"
+#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 36e1ab3ea0..23c4e672b5 100644
--- a/src/xml/SkXMLParser.cpp
+++ b/src/xml/SkXMLParser.cpp
@@ -5,14 +5,12 @@
* 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 0be9c5560a..67dcf59d1d 100644
--- a/src/xml/SkXMLWriter.cpp
+++ b/src/xml/SkXMLWriter.cpp
@@ -6,9 +6,7 @@
*/
#include "SkXMLWriter.h"
-
#include "SkStream.h"
-#include "SkTo.h"
SkXMLWriter::SkXMLWriter(bool doEscapeMarkup) : fDoEscapeMarkup(doEscapeMarkup)
{}