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

Unified Diff: third_party/WebKit/Source/core/style/DataEquivalency.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/DataEquivalency.h
diff --git a/third_party/WebKit/Source/core/style/DataEquivalency.h b/third_party/WebKit/Source/core/style/DataEquivalency.h
index b37b6265233168b22bf06558e720061813849d83..b9b49370ea5779eca964ddbc66171e8958b58cda 100644
--- a/third_party/WebKit/Source/core/style/DataEquivalency.h
+++ b/third_party/WebKit/Source/core/style/DataEquivalency.h
@@ -5,8 +5,8 @@
#ifndef DataEquivalency_h
#define DataEquivalency_h
+#include "wtf/OwnPtr.h"
#include "wtf/RefPtr.h"
-#include <memory>
namespace blink {
@@ -44,7 +44,7 @@ bool dataEquivalent(const Member<T>& a, const Member<T>& b)
}
template <typename T>
-bool dataEquivalent(const std::unique_ptr<T>& a, const std::unique_ptr<T>& b)
+bool dataEquivalent(const OwnPtr<T>& a, const OwnPtr<T>& b)
{
return dataEquivalent(a.get(), b.get());
}
« no previous file with comments | « third_party/WebKit/Source/core/style/CounterDirectives.cpp ('k') | third_party/WebKit/Source/core/style/DataPersistent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698