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

Unified Diff: third_party/WebKit/Source/core/style/ShadowList.h

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/style/ShadowList.h
diff --git a/third_party/WebKit/Source/core/style/ShadowList.h b/third_party/WebKit/Source/core/style/ShadowList.h
index 0ddd80e06889f10faafdb5732bdf825e58cfa96f..5172e920a2218caa5ade9b224cd1dc2aa870209d 100644
--- a/third_party/WebKit/Source/core/style/ShadowList.h
+++ b/third_party/WebKit/Source/core/style/ShadowList.h
@@ -36,9 +36,9 @@
#include "platform/geometry/FloatRectOutsets.h"
#include "platform/geometry/LayoutRect.h"
#include "platform/graphics/DrawLooperBuilder.h"
+#include "wtf/PassOwnPtr.h"
#include "wtf/RefCounted.h"
#include "wtf/Vector.h"
-#include <memory>
namespace blink {
@@ -68,7 +68,7 @@ public:
void adjustRectForShadow(FloatRect&) const;
- std::unique_ptr<DrawLooperBuilder> createDrawLooper(DrawLooperBuilder::ShadowAlphaMode, const Color& currentColor, bool isHorizontal = true) const;
+ PassOwnPtr<DrawLooperBuilder> createDrawLooper(DrawLooperBuilder::ShadowAlphaMode, const Color& currentColor, bool isHorizontal = true) const;
private:
ShadowList(ShadowDataVector& shadows)
« no previous file with comments | « third_party/WebKit/Source/core/style/SVGComputedStyleDefs.h ('k') | third_party/WebKit/Source/core/style/ShadowList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698