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

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

Issue 1996883002: CSS: SelectorFilter is non-copyable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: additional classes Created 4 years, 7 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 04a586e9387bdbad00def87002029073c0d06665..91adbfd2368d36b134861923e329729c331f2f41 100644
--- a/third_party/WebKit/Source/core/css/SelectorFilter.h
+++ b/third_party/WebKit/Source/core/css/SelectorFilter.h
@@ -38,6 +38,7 @@ namespace blink {
class CSSSelector;
class SelectorFilter {
+ WTF_MAKE_NONCOPYABLE(SelectorFilter);
DISALLOW_NEW();
public:
class ParentStackFrame {
@@ -52,6 +53,8 @@ public:
Vector<unsigned, 4> identifierHashes;
};
+ SelectorFilter() {}
+
void pushParent(Element& parent);
void popParent(Element& parent);

Powered by Google App Engine
This is Rietveld 408576698