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

Unified Diff: Source/core/xml/DOMParser.h

Issue 855023002: Sync the DOMParser interface with spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: revert TypeChecking=Interface Created 5 years, 11 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
Index: Source/core/xml/DOMParser.h
diff --git a/Source/core/xml/DOMParser.h b/Source/core/xml/DOMParser.h
index b65395bbb24ab65fb4c81d1a47d781e12bbc21f9..13841fb992d093ea08075a01cb7b06e9d3f7ce48 100644
--- a/Source/core/xml/DOMParser.h
+++ b/Source/core/xml/DOMParser.h
@@ -28,7 +28,6 @@
namespace blink {
class Document;
-class ExceptionState;
class DOMParser final : public RefCountedWillBeGarbageCollected<DOMParser>, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
@@ -38,7 +37,7 @@ public:
return adoptRefWillBeNoop(new DOMParser);
}
- PassRefPtrWillBeRawPtr<Document> parseFromString(const String&, const String& contentType, ExceptionState&);
+ PassRefPtrWillBeRawPtr<Document> parseFromString(const String&, const String& type);
void trace(Visitor*) { }
« no previous file with comments | « LayoutTests/fast/dom/domparser-parsefromstring-mimetype-support-expected.txt ('k') | Source/core/xml/DOMParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698