$OpenBSD$ index 2839fe2..8453603 100644 --- layout/base/nsLayoutUtils.h.orig Fri Feb 20 15:40:37 2015 +++ layout/base/nsLayoutUtils.h Fri Feb 20 15:40:37 2015 @@ -1271,6 +1271,10 @@ public: // Get a suitable foreground color for painting aProperty for aFrame. static nscolor GetColor(nsIFrame* aFrame, nsCSSProperty aProperty); + // Get the native text color if appropriate. If false is returned, callers + // should fallback to the CSS color. + static bool GetNativeTextColor(nsIFrame* aFrame, nscolor& aColor); + // Get a baseline y position in app units that is snapped to device pixels. static gfxFloat GetSnappedBaselineY(nsIFrame* aFrame, gfxContext* aContext, nscoord aY, nscoord aAscent);