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

Unified Diff: Source/core/html/HTMLLIElement.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/HTMLLIElement.cpp
diff --git a/Source/core/html/HTMLLIElement.cpp b/Source/core/html/HTMLLIElement.cpp
index a31ccd1b334b967d2f920e9e56e8c856c0e7a382..5e0506182df912998a8451b71ff827761bcb3aaf 100644
--- a/Source/core/html/HTMLLIElement.cpp
+++ b/Source/core/html/HTMLLIElement.cpp
@@ -84,11 +84,11 @@ void HTMLLIElement::parseAttribute(const QualifiedName& name, const AtomicString
HTMLElement::parseAttribute(name, value);
}
-void HTMLLIElement::attach()
+void HTMLLIElement::attach(const AttachContext& context)
{
ASSERT(!attached());
- HTMLElement::attach();
+ HTMLElement::attach(context);
if (renderer() && renderer()->isListItem()) {
RenderListItem* listItemRenderer = toRenderListItem(renderer());

Powered by Google App Engine
This is Rietveld 408576698