Index: Source/core/html/HTMLViewSourceDocument.h |
diff --git a/Source/core/html/HTMLViewSourceDocument.h b/Source/core/html/HTMLViewSourceDocument.h |
index a1988cc7e2c3af8480587b7903e0ee399a15da38..8c2608a67d7c7aab3a0d44b14f6927f03781eda6 100644 |
--- a/Source/core/html/HTMLViewSourceDocument.h |
+++ b/Source/core/html/HTMLViewSourceDocument.h |
@@ -58,7 +58,7 @@ private: |
void addLine(const AtomicString& className); |
void finishLine(); |
void addText(const String& text, const AtomicString& className); |
- int addRange(const String& source, int start, int end, const String& className, bool isLink = false, bool isAnchor = false, const String& link = String()); |
+ int addRange(const String& source, int start, int end, const AtomicString& className, bool isLink = false, bool isAnchor = false, const AtomicString& link = nullAtom); |
eseidel
2014/01/02 19:18:28
Bools as arguments are sooooo bad. We really need
|
PassRefPtr<Element> addLink(const AtomicString& url, bool isAnchor); |
PassRefPtr<Element> addBase(const AtomicString& href); |