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

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

Issue 235063003: Get rid of code duplication in LinkRelAttribute (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: more silly Created 6 years, 8 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 | « no previous file | Source/core/html/LinkRelAttribute.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/LinkRelAttribute.h
diff --git a/Source/core/html/LinkRelAttribute.h b/Source/core/html/LinkRelAttribute.h
index 9c2a147225e1f8e8bb0d2450f2b726c65b820683..ec04cb3f0b63f43bf5194a1a65fe56f4b7282228 100644
--- a/Source/core/html/LinkRelAttribute.h
+++ b/Source/core/html/LinkRelAttribute.h
@@ -33,17 +33,13 @@
#define LinkRelAttribute_h
#include "core/dom/IconURL.h"
-
-namespace WTF {
-class String;
-}
+#include "wtf/text/WTFString.h"
namespace WebCore {
class LinkRelAttribute {
public:
- LinkRelAttribute();
- explicit LinkRelAttribute(const String&);
+ explicit LinkRelAttribute(const String& = "");
bool isStyleSheet() const { return m_isStyleSheet; }
IconType iconType() const { return m_iconType; }
« no previous file with comments | « no previous file | Source/core/html/LinkRelAttribute.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698