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) |