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

Unified Diff: third_party/WebKit/Source/core/css/invalidation/InvalidationSet.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/css/invalidation/InvalidationSet.h
diff --git a/third_party/WebKit/Source/core/css/invalidation/InvalidationSet.h b/third_party/WebKit/Source/core/css/invalidation/InvalidationSet.h
index 61932a2b605c6f8a1c7b9a8da762d94780436a18..35f8a426173084353abcf8db145fdb26028ea985 100644
--- a/third_party/WebKit/Source/core/css/invalidation/InvalidationSet.h
+++ b/third_party/WebKit/Source/core/css/invalidation/InvalidationSet.h
@@ -40,7 +40,6 @@
#include "wtf/RefPtr.h"
#include "wtf/text/AtomicStringHash.h"
#include "wtf/text/StringHash.h"
-#include <memory>
namespace blink {
@@ -147,10 +146,10 @@ private:
HashSet<AtomicString>& ensureAttributeSet();
// FIXME: optimize this if it becomes a memory issue.
- std::unique_ptr<HashSet<AtomicString>> m_classes;
- std::unique_ptr<HashSet<AtomicString>> m_ids;
- std::unique_ptr<HashSet<AtomicString>> m_tagNames;
- std::unique_ptr<HashSet<AtomicString>> m_attributes;
+ OwnPtr<HashSet<AtomicString>> m_classes;
+ OwnPtr<HashSet<AtomicString>> m_ids;
+ OwnPtr<HashSet<AtomicString>> m_tagNames;
+ OwnPtr<HashSet<AtomicString>> m_attributes;
unsigned m_type : 1;

Powered by Google App Engine
This is Rietveld 408576698