From 15ed3a58d154db33045ac688bd38f94364d161b7 Mon Sep 17 00:00:00 2001 From: weolar <405360001@qq.com> Date: Sun, 26 Jan 2020 11:48:29 +0800 Subject: [PATCH] =?UTF-8?q?*=20=E4=BF=AE=E5=A4=8Dobject-fit:=20contain;=20?= =?UTF-8?q?=E6=B2=A1=E8=B5=B7=E4=BD=9C=E7=94=A8=E7=9A=84=E9=97=AE=E9=A2=98?= =?UTF-8?q?=EF=BC=88=E4=BA=AC=E9=A9=B4=E5=84=BF=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- third_party/WebKit/Source/core/layout/LayoutReplaced.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third_party/WebKit/Source/core/layout/LayoutReplaced.cpp b/third_party/WebKit/Source/core/layout/LayoutReplaced.cpp index 656c2419a1..9d76546224 100644 --- a/third_party/WebKit/Source/core/layout/LayoutReplaced.cpp +++ b/third_party/WebKit/Source/core/layout/LayoutReplaced.cpp @@ -234,7 +234,7 @@ LayoutRect LayoutReplaced::replacedContentRect(const LayoutSize* overriddenIntri #ifndef MINIBLINK_NO_CHANGE String layoutName = name(); - if (wke::g_wkeMediaPlayerFactory && layoutName == "LayoutImage") + if (wke::g_wkeMediaPlayerFactory && layoutName == "LayoutVideo") objectFit = ObjectFitFill; #endif