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

Unified Diff: Source/WebKit/chromium/src/WebLabelElement.cpp

Issue 18259016: Introduce isHTMLLabelElement and toHTMLLabelElement (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Took tkent's comment into consideration Created 7 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
« no previous file with comments | « no previous file | Source/core/accessibility/AXObjectCache.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebKit/chromium/src/WebLabelElement.cpp
diff --git a/Source/WebKit/chromium/src/WebLabelElement.cpp b/Source/WebKit/chromium/src/WebLabelElement.cpp
index 15d1b3dc002f5da5ae92836db2bd3a364d3bd6e5..59b4ffaba8f308a9fc9328996abd615471f23c3b 100644
--- a/Source/WebKit/chromium/src/WebLabelElement.cpp
+++ b/Source/WebKit/chromium/src/WebLabelElement.cpp
@@ -58,7 +58,7 @@ WebLabelElement& WebLabelElement::operator=(const PassRefPtr<HTMLLabelElement>&
WebLabelElement::operator PassRefPtr<HTMLLabelElement>() const
{
- return static_cast<HTMLLabelElement*>(m_private.get());
+ return toHTMLLabelElement(m_private.get());
}
} // namespace WebKit
« no previous file with comments | « no previous file | Source/core/accessibility/AXObjectCache.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698