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

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

Issue 2630703002: Rename Supplement::host() to Supplement::supplementable() (Closed)
Patch Set: temp Created 3 years, 11 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/DocumentParserTiming.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 e7e118265a4a49d8dbe38de8d059dec046fe99f3..2570be9cb0e27ee525d195507fce21826869b37d 100644
--- a/third_party/WebKit/Source/core/dom/CSSSelectorWatch.cpp
+++ b/third_party/WebKit/Source/core/dom/CSSSelectorWatch.cpp
@@ -76,13 +76,13 @@ void CSSSelectorWatch::callbackSelectorChangeTimerFired(TimerBase*) {
m_callbackSelectorChangeTimer.startOneShot(0, BLINK_FROM_HERE);
return;
}
- if (host()->frame()) {
+ if (supplementable()->frame()) {
Vector<String> addedSelectors;
Vector<String> removedSelectors;
copyToVector(m_addedSelectors, addedSelectors);
copyToVector(m_removedSelectors, removedSelectors);
- host()->frame()->loader().client()->selectorMatchChanged(addedSelectors,
- removedSelectors);
+ supplementable()->frame()->loader().client()->selectorMatchChanged(
+ addedSelectors, removedSelectors);
}
m_addedSelectors.clear();
m_removedSelectors.clear();
@@ -164,7 +164,7 @@ void CSSSelectorWatch::watchCSSSelectors(const Vector<String>& selectors) {
m_watchedCallbackSelectors.push_back(
StyleRule::create(std::move(selectorList), callbackPropertySet));
}
- host()->styleEngine().watchedSelectorsChanged();
+ supplementable()->styleEngine().watchedSelectorsChanged();
}
DEFINE_TRACE(CSSSelectorWatch) {
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/DocumentParserTiming.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698