GraphicsContext::drawLineForText in PLATFORM(IOS) saves and restores graphics context state unnecessarily
Created attachment 222475 [details] Patch
Comment on attachment 222475 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=222475&action=review > Source/WebCore/platform/graphics/cg/GraphicsContextCG.cpp:1461 > + if (m_state.shouldUseContextColors) > +#endif I hate #ifdeffed control flow. > Source/WebCore/platform/graphics/cg/GraphicsContextCG.cpp:1474 > + if (fillColorIsNotEqualToStrokeColor) > + setCGFillColor(platformContext(), fillColor(), fillColorSpace()); This indentation looks wrong.
Fixed in http://trac.webkit.org/changeset/163921