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

Unified Diff: third_party/WebKit/Source/core/css/SelectorFilter.h

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First attempt to land. 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/SelectorFilter.h
diff --git a/third_party/WebKit/Source/core/css/SelectorFilter.h b/third_party/WebKit/Source/core/css/SelectorFilter.h
index 91adbfd2368d36b134861923e329729c331f2f41..6119434b51e31dd54740b8ef1420573ce22a7ada 100644
--- a/third_party/WebKit/Source/core/css/SelectorFilter.h
+++ b/third_party/WebKit/Source/core/css/SelectorFilter.h
@@ -32,6 +32,7 @@
#include "core/dom/Element.h"
#include "wtf/BloomFilter.h"
#include "wtf/Vector.h"
+#include <memory>
namespace blink {
@@ -74,7 +75,7 @@ private:
// With 100 unique strings in the filter, 2^12 slot table has false positive rate of ~0.2%.
using IdentifierFilter = BloomFilter<12>;
- OwnPtr<IdentifierFilter> m_ancestorIdentifierFilter;
+ std::unique_ptr<IdentifierFilter> m_ancestorIdentifierFilter;
};
template <unsigned maximumIdentifierCount>

Powered by Google App Engine
This is Rietveld 408576698