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

Unified Diff: Source/core/html/HTMLDocument.h

Issue 59693007: Get rid of custom code for HTMLDocument.write() / writeln() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix test failures Created 7 years, 1 month 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/html/HTMLDocument.h
diff --git a/Source/core/html/HTMLDocument.h b/Source/core/html/HTMLDocument.h
index bc3b9a76e33ae549d26d64818028b7faadfd48b8..58e624f3e125ad7e6e5b46b9e8a038df330be428 100644
--- a/Source/core/html/HTMLDocument.h
+++ b/Source/core/html/HTMLDocument.h
@@ -74,6 +74,11 @@ public:
void removeExtraNamedItem(const AtomicString& name);
bool hasExtraNamedItem(const AtomicString& name);
+ using Document::write;
+ using Document::writeln;
+ void write(DOMWindow*, const Vector<String>& text);
+ void writeln(DOMWindow*, const Vector<String>& text);
+
static bool isCaseSensitiveAttribute(const QualifiedName&);
virtual PassRefPtr<Document> cloneDocumentWithoutChildren() OVERRIDE FINAL;

Powered by Google App Engine
This is Rietveld 408576698