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

Unified Diff: third_party/WebKit/Source/core/html/HTMLLinkElement.cpp

Issue 1740483004: Rename enums/functions that collide in chromium style in core/html/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@get-names-5
Patch Set: get-names-6: . Created 4 years, 10 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: 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()))
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLLinkElement.h ('k') | third_party/WebKit/Source/core/html/HTMLMediaElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698