Index: third_party/WebKit/Source/core/html/HTMLLinkElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp b/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp |
index 4ca2d1f3c8d4ccc010976531550e2d8a826529b9..7e165f6175db8d6007daa951dd36b27630115a6c 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp |
@@ -444,9 +444,9 @@ bool HTMLLinkElement::async() const |
return fastHasAttribute(HTMLNames::asyncAttr); |
} |
-IconType HTMLLinkElement::iconType() const |
+IconType HTMLLinkElement::getIconType() const |
{ |
- return m_relAttribute.iconType(); |
+ return m_relAttribute.getIconType(); |
} |
const Vector<IntSize>& HTMLLinkElement::iconSizes() const |
@@ -707,7 +707,7 @@ void LinkStyle::process() |
String as = m_owner->asValue().lower(); |
LinkRequestBuilder builder(m_owner); |
- if (m_owner->relAttribute().iconType() != InvalidIcon && builder.url().isValid() && !builder.url().isEmpty()) { |
+ if (m_owner->relAttribute().getIconType() != InvalidIcon && builder.url().isValid() && !builder.url().isEmpty()) { |
if (!m_owner->shouldLoadLink()) |
return; |
if (!document().securityOrigin()->canDisplay(builder.url())) |
@@ -715,7 +715,7 @@ void LinkStyle::process() |
if (!document().contentSecurityPolicy()->allowImageFromSource(builder.url())) |
return; |
if (document().frame() && document().frame()->loader().client()) |
- document().frame()->loader().client()->dispatchDidChangeIcons(m_owner->relAttribute().iconType()); |
+ document().frame()->loader().client()->dispatchDidChangeIcons(m_owner->relAttribute().getIconType()); |
} |
if (!m_owner->loadLink(type, as, builder.url())) |