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

Unified Diff: third_party/WebKit/Source/core/page/Page.cpp

Issue 1417943002: Load the table of visited links from database file asynchronously. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Load the table of visited links from database file asynchronously Created 5 years 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
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);
}
}
}

Powered by Google App Engine
This is Rietveld 408576698