| Index: Source/core/css/resolver/StyleAdjuster.cpp
|
| diff --git a/Source/core/css/resolver/StyleAdjuster.cpp b/Source/core/css/resolver/StyleAdjuster.cpp
|
| index be3d89497722be5bfc7d69786a6c39b3ebb2b8a3..7db0e0651e5472114cbf5d75a5e7980ea3db9a30 100644
|
| --- a/Source/core/css/resolver/StyleAdjuster.cpp
|
| +++ b/Source/core/css/resolver/StyleAdjuster.cpp
|
| @@ -43,7 +43,6 @@
|
| #include "core/html/HTMLTextAreaElement.h"
|
| #include "core/layout/LayoutReplaced.h"
|
| #include "core/layout/LayoutTheme.h"
|
| -#include "core/style/GridPosition.h"
|
| #include "core/style/ComputedStyle.h"
|
| #include "core/style/ComputedStyleConstants.h"
|
| #include "core/svg/SVGSVGElement.h"
|
| @@ -412,16 +411,6 @@ void StyleAdjuster::adjustStyleForHTMLElement(ComputedStyle& style, const Comput
|
|
|
| if (isHTMLPlugInElement(element)) {
|
| style.setRequiresAcceleratedCompositingForExternalReasons(toHTMLPlugInElement(element).shouldAccelerate());
|
| -
|
| - // Plugins should get the standard replaced width/height instead of 'auto'.
|
| - // Replaced layoutObjects get this for free, and fallback content doesn't count.
|
| - if (toHTMLPlugInElement(element).usePlaceholderContent()) {
|
| - if (style.width().isAuto())
|
| - style.setWidth(Length(LayoutReplaced::defaultWidth, Fixed));
|
| - if (style.height().isAuto())
|
| - style.setHeight(Length(LayoutReplaced::defaultHeight, Fixed));
|
| - }
|
| -
|
| return;
|
| }
|
| }
|
|
|