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

Unified Diff: sky/engine/core/dom/TextLinkColors.cpp

Issue 667003003: Remove most of visited link support. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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 | « sky/engine/core/dom/TextLinkColors.h ('k') | sky/engine/core/frame/FrameView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/TextLinkColors.cpp
diff --git a/sky/engine/core/dom/TextLinkColors.cpp b/sky/engine/core/dom/TextLinkColors.cpp
index 72041ea48f5d20ce58fe3fcc3862a58b9f571bfd..7748d080d02f80f5d209336759e9187a9a91477c 100644
--- a/sky/engine/core/dom/TextLinkColors.cpp
+++ b/sky/engine/core/dom/TextLinkColors.cpp
@@ -38,7 +38,6 @@ TextLinkColors::TextLinkColors()
: m_textColor(Color::black)
{
resetLinkColor();
- resetVisitedLinkColor();
resetActiveLinkColor();
}
@@ -47,17 +46,12 @@ void TextLinkColors::resetLinkColor()
m_linkColor = Color(0, 0, 238);
}
-void TextLinkColors::resetVisitedLinkColor()
-{
- m_visitedLinkColor = Color(85, 26, 139);
-}
-
void TextLinkColors::resetActiveLinkColor()
{
m_activeLinkColor = Color(255, 0, 0);
}
-Color TextLinkColors::colorFromPrimitiveValue(const CSSPrimitiveValue* value, Color currentColor, bool forVisitedLink) const
+Color TextLinkColors::colorFromPrimitiveValue(const CSSPrimitiveValue* value, Color currentColor) const
{
if (value->isRGBColor())
return Color(value->getRGBA32Value());
« no previous file with comments | « sky/engine/core/dom/TextLinkColors.h ('k') | sky/engine/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698