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

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

Issue 1796573005: Do not show deprecation message for ::shadow and /deep/ on querySelector (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix layout test expectation Created 4 years, 9 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/SelectorChecker.h
diff --git a/third_party/WebKit/Source/core/css/SelectorChecker.h b/third_party/WebKit/Source/core/css/SelectorChecker.h
index 2df8e7923707af894a381bec64a9bd07bde10268..0d9fabe0bd3cea3d1b91920fe0dcd50aed9748f6 100644
--- a/third_party/WebKit/Source/core/css/SelectorChecker.h
+++ b/third_party/WebKit/Source/core/css/SelectorChecker.h
@@ -52,6 +52,7 @@ public:
public:
Mode mode = ResolvingStyle;
bool isUARule = false;
+ bool isQuerySelector = false;
ComputedStyle* elementStyle = nullptr;
RawPtrWillBeMember<LayoutScrollbar> scrollbar = nullptr;
ScrollbarPart scrollbarPart = NoPart;
@@ -60,6 +61,7 @@ public:
explicit SelectorChecker(const Init& init)
: m_mode(init.mode)
, m_isUARule(init.isUARule)
+ , m_isQuerySelector(init.isQuerySelector)
, m_elementStyle(init.elementStyle)
, m_scrollbar(init.scrollbar)
, m_scrollbarPart(init.scrollbarPart)
@@ -140,6 +142,7 @@ private:
Mode m_mode;
bool m_isUARule;
+ bool m_isQuerySelector;
ComputedStyle* m_elementStyle;
RawPtrWillBeMember<LayoutScrollbar> m_scrollbar;
ScrollbarPart m_scrollbarPart;

Powered by Google App Engine
This is Rietveld 408576698