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

Unified Diff: src/xml/SkDOM.cpp

Issue 2154733003: Remove SkDOM::build(const char doc[], size_t len) (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: rebase Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/xml/SkDOM.h ('k') | tests/SkDOMTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/xml/SkDOM.cpp
diff --git a/src/xml/SkDOM.cpp b/src/xml/SkDOM.cpp
index 78cf6f07e9266d42fad174a82bfc589cd1d3152f..38ba669bb71327fb94e5a04b230328522fab0f56 100644
--- a/src/xml/SkDOM.cpp
+++ b/src/xml/SkDOM.cpp
@@ -323,11 +323,6 @@ const SkDOM::Node* SkDOM::build(SkStream& docStream) {
return fRoot;
}
-const SkDOM::Node* SkDOM::build(const char doc[], size_t len) {
- SkMemoryStream docStream(doc, len);
- return this->build(docStream);
-}
-
///////////////////////////////////////////////////////////////////////////
static void walk_dom(const SkDOM& dom, const SkDOM::Node* node, SkXMLParser* parser)
« no previous file with comments | « include/xml/SkDOM.h ('k') | tests/SkDOMTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698