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

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

Issue 2080623002: Revert "Remove OwnPtr from Blink." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/SVGFilterPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/SVGFilterPainter.cpp b/third_party/WebKit/Source/core/paint/SVGFilterPainter.cpp
index 0bf57810d3397fef157f301a1f9d8119b3f503a9..a98c0c68b53dd86631c88525330b4607847a3406 100644
--- a/third_party/WebKit/Source/core/paint/SVGFilterPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/SVGFilterPainter.cpp
@@ -9,7 +9,6 @@
#include "core/paint/LayoutObjectDrawingRecorder.h"
#include "platform/graphics/filters/SkiaImageFilterBuilder.h"
#include "platform/graphics/filters/SourceGraphic.h"
-#include "wtf/PtrUtil.h"
namespace blink {
@@ -19,7 +18,7 @@ GraphicsContext* SVGFilterRecordingContext::beginContent(FilterData* filterData)
// Create a new context so the contents of the filter can be drawn and cached.
m_paintController = PaintController::create();
- m_context = wrapUnique(new GraphicsContext(*m_paintController));
+ m_context = adoptPtr(new GraphicsContext(*m_paintController));
filterData->m_state = FilterData::RecordingContent;
return m_context.get();

Powered by Google App Engine
This is Rietveld 408576698