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

Unified Diff: Source/core/rendering/RenderObject.h

Issue 856523002: Make RenderObject::resolveColor(const RenderStyle*, int) static. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderObject.h
diff --git a/Source/core/rendering/RenderObject.h b/Source/core/rendering/RenderObject.h
index 063f00587345fd601d2cae24e9a3fc5cb22fd150..9c88706ebe02770c677052dc00e5242c8c3be3ac 100644
--- a/Source/core/rendering/RenderObject.h
+++ b/Source/core/rendering/RenderObject.h
@@ -802,7 +802,7 @@ public:
RenderStyle* firstLineStyle() const;
RenderStyle* style(bool firstLine) const;
- inline Color resolveColor(const RenderStyle* styleToUse, int colorProperty) const
+ static inline Color resolveColor(const RenderStyle* styleToUse, int colorProperty)
{
return styleToUse->visitedDependentColor(colorProperty);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698