| 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 2377b940add2cccf43103e6a8f9599ac1b52cbfb..759a658e2f2366b2ec34fb6a85843c04dd2b96c4 100644
|
| --- a/third_party/WebKit/Source/core/page/Page.cpp
|
| +++ b/third_party/WebKit/Source/core/page/Page.cpp
|
| @@ -343,12 +343,12 @@ void Page::resetDeviceColorProfile()
|
| 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);
|
| }
|
| }
|
| }
|
|
|