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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutVideo.cpp

Issue 1868013002: Percent height in auto height containers no longer computes as auto (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@303728-6
Patch Set: Updated Created 4 years, 8 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: third_party/WebKit/Source/core/layout/LayoutVideo.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutVideo.cpp b/third_party/WebKit/Source/core/layout/LayoutVideo.cpp
index 7c04530985119d4ff3801ab74874bbe0b6a7e542..c2fdb4af1966d057d762ab24fbd12ef94c14158f 100644
--- a/third_party/WebKit/Source/core/layout/LayoutVideo.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutVideo.cpp
@@ -182,9 +182,9 @@ LayoutUnit LayoutVideo::computeReplacedLogicalWidth(ShouldComputePreferred shoul
return LayoutReplaced::computeReplacedLogicalWidth(shouldComputePreferred);
}
-LayoutUnit LayoutVideo::computeReplacedLogicalHeight() const
+LayoutUnit LayoutVideo::computeReplacedLogicalHeight(LayoutUnit estimatedUsedWidth) const
{
- return LayoutReplaced::computeReplacedLogicalHeight();
+ return LayoutReplaced::computeReplacedLogicalHeight(estimatedUsedWidth);
}
LayoutUnit LayoutVideo::minimumReplacedHeight() const
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutVideo.h ('k') | third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698