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

Unified Diff: third_party/WebKit/Source/core/css/SelectorFilter.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/SelectorFilter.h
diff --git a/third_party/WebKit/Source/core/css/SelectorFilter.h b/third_party/WebKit/Source/core/css/SelectorFilter.h
index 6119434b51e31dd54740b8ef1420573ce22a7ada..91adbfd2368d36b134861923e329729c331f2f41 100644
--- a/third_party/WebKit/Source/core/css/SelectorFilter.h
+++ b/third_party/WebKit/Source/core/css/SelectorFilter.h
@@ -32,7 +32,6 @@
#include "core/dom/Element.h"
#include "wtf/BloomFilter.h"
#include "wtf/Vector.h"
-#include <memory>
namespace blink {
@@ -75,7 +74,7 @@ private:
// With 100 unique strings in the filter, 2^12 slot table has false positive rate of ~0.2%.
using IdentifierFilter = BloomFilter<12>;
- std::unique_ptr<IdentifierFilter> m_ancestorIdentifierFilter;
+ OwnPtr<IdentifierFilter> m_ancestorIdentifierFilter;
};
template <unsigned maximumIdentifierCount>

Powered by Google App Engine
This is Rietveld 408576698