Index: third_party/WebKit/Source/core/dom/Document.h |
diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h |
index 584327a25ee338c712d872a1ca177dd7d2359758..30078bc8972f1b0824188eaf5c112461ee767321 100644 |
--- a/third_party/WebKit/Source/core/dom/Document.h |
+++ b/third_party/WebKit/Source/core/dom/Document.h |
@@ -387,16 +387,12 @@ public: |
bool gotoAnchorNeededAfterStylesheetsLoad() { return m_gotoAnchorNeededAfterStylesheetsLoad; } |
void setGotoAnchorNeededAfterStylesheetsLoad(bool b) { m_gotoAnchorNeededAfterStylesheetsLoad = b; } |
- // Called when one or more stylesheets in the document may have been added, removed, or changed. |
- void styleResolverChanged(StyleResolverUpdateMode = FullStyleUpdate); |
- void styleResolverMayHaveChanged(); |
- |
- // FIXME: Switch all callers of styleResolverChanged to these or better ones and then make them |
+ // FIXME: Switch all callers of resolverChanged to these or better ones and then make them |
// do something smarter. |
void removedStyleSheet(StyleSheet*, StyleResolverUpdateMode = FullStyleUpdate); |
- void addedStyleSheet(StyleSheet*) { styleResolverChanged(); } |
+ void addedStyleSheet(StyleSheet*); |
void modifiedStyleSheet(StyleSheet*, StyleResolverUpdateMode = FullStyleUpdate); |
- void changedSelectorWatch() { styleResolverChanged(); } |
+ void changedSelectorWatch(); |
void scheduleUseShadowTreeUpdate(SVGUseElement&); |
void unscheduleUseShadowTreeUpdate(SVGUseElement&); |
@@ -1160,6 +1156,7 @@ private: |
void clearFocusedElementTimerFired(Timer<Document>*); |
bool haveStylesheetsLoaded() const; |
+ void styleResolverMayHaveChanged(); |
void setHoverNode(PassRefPtrWillBeRawPtr<Node>); |