Sometimes when resize callback come, the RWHV is
not create yet, this make the render view size set
not done, but the old rect is set, so next time need
to set it even the rect is the same.
reference:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/301037/
Change-Id: I4cadb8e83695a0fa036ae3f38e63efd359e03fc3
Signed-off-by: chenhuasheng <hsheng.chen@samsung.com>
#include "ui/gfx/geometry/transform.h"
#include "ui/gfx/image/image_skia_rep.h"
#include "ui/gfx/interpolated_transform.h"
+#if BUILDFLAG(IS_TIZEN_TV)
+#include "tizen_src/ewk/efl_integration/common/application_type.h"
+#endif
namespace ui {
namespace {
void Layer::SetBoundsFromAnimation(const gfx::Rect& bounds,
PropertyChangeReason reason) {
+#if BUILDFLAG(IS_TIZEN_TV)
+ if (bounds == bounds_ && (content::IsTIZENWRT() || content::IsHbbTV()))
+ return;
+#else
if (bounds == bounds_)
return;
+#endif
const gfx::Rect old_bounds = bounds_;
bounds_ = bounds;