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

Unified Diff: third_party/WebKit/Source/core/dom/CSSSelectorWatch.cpp

Issue 1757503002: Re-collect rule features for watched selectors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/dom/CSSSelectorWatch.cpp
diff --git a/third_party/WebKit/Source/core/dom/CSSSelectorWatch.cpp b/third_party/WebKit/Source/core/dom/CSSSelectorWatch.cpp
index 7b2034c7cb2534b95485cdadc3b2c78f554d8d9c..d1d1ede4790347637083961f1f7386c732fe40a4 100644
--- a/third_party/WebKit/Source/core/dom/CSSSelectorWatch.cpp
+++ b/third_party/WebKit/Source/core/dom/CSSSelectorWatch.cpp
@@ -34,6 +34,7 @@
#include "core/css/parser/CSSParser.h"
#include "core/dom/Document.h"
#include "core/dom/ExecutionContext.h"
+#include "core/dom/StyleEngine.h"
#include "core/frame/LocalFrame.h"
#include "core/loader/FrameLoaderClient.h"
#include "core/style/StyleRareNonInheritedData.h"
@@ -158,7 +159,7 @@ void CSSSelectorWatch::watchCSSSelectors(const Vector<String>& selectors)
m_watchedCallbackSelectors.append(StyleRule::create(std::move(selectorList), callbackPropertySet));
}
- document().changedSelectorWatch();
+ document().styleEngine().watchedSelectorsChanged();
}
DEFINE_TRACE(CSSSelectorWatch)
« no previous file with comments | « third_party/WebKit/Source/core/dom/CSSSelectorWatch.h ('k') | third_party/WebKit/Source/core/dom/CSSSelectorWatchTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698