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

Unified Diff: Source/core/dom/UserActionElementSet.cpp

Issue 1173283002: Move some Element specific code from Node::detach to Element::detach. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | « Source/core/dom/UserActionElementSet.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/UserActionElementSet.cpp
diff --git a/Source/core/dom/UserActionElementSet.cpp b/Source/core/dom/UserActionElementSet.cpp
index 0358e59ad080eac94800ffaf338b01c4f9f113bf..e9ec739df2157537db43a61e4dba31e329cce95e 100644
--- a/Source/core/dom/UserActionElementSet.cpp
+++ b/Source/core/dom/UserActionElementSet.cpp
@@ -40,10 +40,10 @@ UserActionElementSet::~UserActionElementSet()
{
}
-void UserActionElementSet::didDetach(Node* node)
+void UserActionElementSet::didDetach(Element& element)
{
- ASSERT(node->isUserActionElement());
- clearFlags(toElement(node), IsActiveFlag | InActiveChainFlag | IsHoveredFlag);
+ ASSERT(element.isUserActionElement());
+ clearFlags(&element, IsActiveFlag | InActiveChainFlag | IsHoveredFlag);
}
#if !ENABLE(OILPAN)
« no previous file with comments | « Source/core/dom/UserActionElementSet.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698