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

Unified Diff: third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp

Issue 1980893002: Remove OwnPtr::release() calls in core/ (part 4). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/paint/PaintPropertyTreeBuilder.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
index 35b0fb3e770cc5b98afcbc789ddd440fb1606e39..eada3d7b7470ec461b51d9b689dc7536f9508680 100644
--- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
@@ -213,7 +213,7 @@ void PaintPropertyTreeBuilder::updateLocalBorderBoxContext(LayoutObject& object,
borderBoxContext->transform = context.currentTransform;
borderBoxContext->clip = context.currentClip;
borderBoxContext->effect = context.currentEffect;
- object.ensureObjectPaintProperties().setLocalBorderBoxProperties(borderBoxContext.release());
+ object.ensureObjectPaintProperties().setLocalBorderBoxProperties(std::move(borderBoxContext));
}
// TODO(trchen): Remove this once we bake the paint offset into frameRect.
« no previous file with comments | « third_party/WebKit/Source/core/paint/FilterPainter.cpp ('k') | third_party/WebKit/Source/core/style/ContentData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698