| Index: third_party/WebKit/Source/core/layout/LayoutFullScreen.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutFullScreen.cpp b/third_party/WebKit/Source/core/layout/LayoutFullScreen.cpp
|
| index 6c8312341c8a4a436877606c382e14568a7687e5..5990f80725ec39b791e92c42f6420ab240c74a21 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutFullScreen.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutFullScreen.cpp
|
| @@ -200,13 +200,13 @@ void LayoutFullScreen::createPlaceholder(PassRefPtr<ComputedStyle> style, const
|
|
|
| if (!m_placeholder) {
|
| m_placeholder = new LayoutFullScreenPlaceholder(this);
|
| - m_placeholder->setStyleWithWritingModeOfParent(style);
|
| + m_placeholder->setStyleWithWritingModeOfParent(std::move(style));
|
| if (parent()) {
|
| parent()->addChildWithWritingModeOfParent(m_placeholder, this);
|
| parent()->setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation(LayoutInvalidationReason::Fullscreen);
|
| }
|
| } else {
|
| - m_placeholder->setStyle(style);
|
| - m_placeholder->setStyleWithWritingModeOfParent(style);
|
| + m_placeholder->setStyle(std::move(style));
|
| + m_placeholder->setStyleWithWritingModeOfParent(std::move(style));
|
| }
|
| }
|
|
|