| Index: third_party/WebKit/Source/core/page/Page.cpp
|
| diff --git a/third_party/WebKit/Source/core/page/Page.cpp b/third_party/WebKit/Source/core/page/Page.cpp
|
| index 037913400a533a017c86ab3ddb1bc1688c07e2ea..c2aec15d51f94d785866decebb08206ab158c2aa 100644
|
| --- a/third_party/WebKit/Source/core/page/Page.cpp
|
| +++ b/third_party/WebKit/Source/core/page/Page.cpp
|
| @@ -341,12 +341,12 @@ void Page::resetDeviceColorProfileForTesting()
|
| RuntimeEnabledFeatures::setImageColorProfilesEnabled(false);
|
| }
|
|
|
| -void Page::allVisitedStateChanged()
|
| +void Page::allVisitedStateChanged(bool invalidateVisitedLinkHashes)
|
| {
|
| for (const Page* page : ordinaryPages()) {
|
| for (Frame* frame = page->m_mainFrame; frame; frame = frame->tree().traverseNext()) {
|
| if (frame->isLocalFrame())
|
| - toLocalFrame(frame)->document()->visitedLinkState().invalidateStyleForAllLinks();
|
| + toLocalFrame(frame)->document()->visitedLinkState().invalidateStyleForAllLinks(invalidateVisitedLinkHashes);
|
| }
|
| }
|
| }
|
|
|