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

Unified Diff: Source/core/html/HTMLMediaElement.cpp

Issue 1170583002: Recalc style or reattach when adding or removing the audio controls attribute (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/html/HTMLMediaElement.h ('k') | Source/core/html/HTMLVideoElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLMediaElement.cpp
diff --git a/Source/core/html/HTMLMediaElement.cpp b/Source/core/html/HTMLMediaElement.cpp
index f66f59c4422ba466b0ee4f8c44bcdb3692db78c2..a407f910cd9186d26b37a747032ce9d505539959 100644
--- a/Source/core/html/HTMLMediaElement.cpp
+++ b/Source/core/html/HTMLMediaElement.cpp
@@ -567,11 +567,6 @@ void HTMLMediaElement::finishParsingChildren()
scheduleDelayedAction(LoadTextTrackResource);
}
-bool HTMLMediaElement::layoutObjectIsNeeded(const ComputedStyle& style)
-{
- return shouldShowControls() && HTMLElement::layoutObjectIsNeeded(style);
-}
-
LayoutObject* HTMLMediaElement::createLayoutObject(const ComputedStyle&)
{
return new LayoutMedia(this);
« no previous file with comments | « Source/core/html/HTMLMediaElement.h ('k') | Source/core/html/HTMLVideoElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698