Skip to content
  • hyatt's avatar
    Make sure to initialize the CG fill and stroke colors to our initial... · 7e88633b
    hyatt authored
            Make sure to initialize the CG fill and stroke colors to our initial fill/stroke colors when first
            constructing a GraphicsContextCG.  Because Safari actually draws text in the bookmarks bar using GraphicsContext
            and sets a fill color, this could only really be seen in another WebKit app.
    
            Patched GraphicsContextQt as well, since it has the same pattern.
    
            Reviewed by bdash
    
            * platform/graphics/cg/GraphicsContextCG.cpp:
            (WebCore::setCGFillColor):
            (WebCore::setCGStrokeColor):
            (WebCore::GraphicsContext::GraphicsContext):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@18312 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    7e88633b