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

Unified Diff: Source/core/html/shadow/ClearButtonElement.cpp

Issue 16599003: :hover style not applied on hover if its display property is different from original style's (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch Created 7 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
Index: Source/core/html/shadow/ClearButtonElement.cpp
diff --git a/Source/core/html/shadow/ClearButtonElement.cpp b/Source/core/html/shadow/ClearButtonElement.cpp
index 97ccd404f1beaae43391a86ff2038792c67cfbe6..2a1dfa521653da074d18641425854d8dfc2fe820 100644
--- a/Source/core/html/shadow/ClearButtonElement.cpp
+++ b/Source/core/html/shadow/ClearButtonElement.cpp
@@ -50,13 +50,13 @@ PassRefPtr<ClearButtonElement> ClearButtonElement::create(Document* document, Cl
return adoptRef(new ClearButtonElement(document, clearButtonOwner));
}
-void ClearButtonElement::detach()
+void ClearButtonElement::detach(const AttachContext& context)
{
if (m_capturing) {
if (Frame* frame = document()->frame())
frame->eventHandler()->setCapturingMouseEventsNode(0);
}
- HTMLDivElement::detach();
+ HTMLDivElement::detach(context);
}
void ClearButtonElement::releaseCapture()

Powered by Google App Engine
This is Rietveld 408576698