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

Unified Diff: third_party/WebKit/Source/core/dom/Fullscreen.cpp

Issue 2622043003: Replaced RefPtr::release with std::move in Source/core. (Closed)
Patch Set: Created 3 years, 11 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/dom/Fullscreen.cpp
diff --git a/third_party/WebKit/Source/core/dom/Fullscreen.cpp b/third_party/WebKit/Source/core/dom/Fullscreen.cpp
index df35eca72fa850c77955a5e1b6688c581ff1bab0..a64732d53444db1e78c38a5a11dd4f79f1818ae5 100644
--- a/third_party/WebKit/Source/core/dom/Fullscreen.cpp
+++ b/third_party/WebKit/Source/core/dom/Fullscreen.cpp
@@ -768,7 +768,7 @@ void Fullscreen::setFullScreenLayoutObject(LayoutFullScreen* layoutObject) {
return;
if (layoutObject && m_savedPlaceholderComputedStyle) {
- layoutObject->createPlaceholder(m_savedPlaceholderComputedStyle.release(),
+ layoutObject->createPlaceholder(std::move(m_savedPlaceholderComputedStyle),
m_savedPlaceholderFrameRect);
} else if (layoutObject && m_fullScreenLayoutObject &&
m_fullScreenLayoutObject->placeholder()) {

Powered by Google App Engine
This is Rietveld 408576698