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

Unified Diff: Source/core/html/HTMLImageElement.cpp

Issue 375673002: Remove unneeded getters/setters (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add more Created 6 years, 5 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: Source/core/html/HTMLImageElement.cpp
diff --git a/Source/core/html/HTMLImageElement.cpp b/Source/core/html/HTMLImageElement.cpp
index 42284dad9ce7057d9197d4d93ed4e9993bcca952..db6d1e33ca57432dbcf919c1884815046ee9a463 100644
--- a/Source/core/html/HTMLImageElement.cpp
+++ b/Source/core/html/HTMLImageElement.cpp
@@ -416,11 +416,6 @@ const QualifiedName& HTMLImageElement::subResourceAttributeName() const
return srcAttr;
}
-const AtomicString& HTMLImageElement::alt() const
-{
- return fastGetAttribute(altAttr);
-}
-
bool HTMLImageElement::draggable() const
{
// Image elements are draggable by default.

Powered by Google App Engine
This is Rietveld 408576698