[Webkit-unassigned] [Bug 40773] New: MathML support doesn't build - access to private member in RenderMathMLRoot.cpp

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 17 06:06:59 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=40773

           Summary: MathML support doesn't build - access to private
                    member in RenderMathMLRoot.cpp
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Major
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: red47514f7 at yandex.ru


[Nightly r61173]

When MathML is enabled, there is a call to RenderStyle's private method color(), which probably should be replaced with visitedDependentColor(CSSPropertyColor).

WebCore/mathml/RenderMathMLRoot.cpp, line 148: 
   info.context->setStrokeColor(style()->color(), sRGBColorSpace);

In WebCore/rendering/style/RenderStyle.h:
line 1109:
const Color visitedDependentColor(int colorProperty) const;
line 1227..1228:
-- cut --
private:
  // Color accessors are all private to make sure callers use visitedDependentColor instead to access them.
-- cut --

in that block (line 1218):    
const Color& color() const { return inherited->color; }

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list