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

Unified Diff: Source/core/html/HTMLMediaElement.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/HTMLMediaElement.cpp
diff --git a/Source/core/html/HTMLMediaElement.cpp b/Source/core/html/HTMLMediaElement.cpp
index b9d4e245ec67fde6db7f61c9acf9e62b3a4ff537..fbbf8de5223c5d9222929cfc9c3485d807a99659 100644
--- a/Source/core/html/HTMLMediaElement.cpp
+++ b/Source/core/html/HTMLMediaElement.cpp
@@ -539,11 +539,11 @@ void HTMLMediaElement::removedFrom(ContainerNode* insertionPoint)
HTMLElement::removedFrom(insertionPoint);
}
-void HTMLMediaElement::attach()
+void HTMLMediaElement::attach(const AttachContext& context)
{
ASSERT(!attached());
- HTMLElement::attach();
+ HTMLElement::attach(context);
if (renderer())
renderer()->updateFromElement();

Powered by Google App Engine
This is Rietveld 408576698