2010-02-06 Dimitri Glazkov <dglazkov@chromium.org>
Reviewed by Adam Barth. Using inlines and function-level statics don't mix, according to gcc. https://bugs.webkit.org/show_bug.cgi?id=34663 De-inline deviceRGBColorSpaceRef to avoid gcc-bug landmines. It appears that the initialization check, generated by gcc doesn't account for a possibility that the function may be inlined, resulting in lazy initialization failure for more than one inlined instance of the function. No behavior change, so no new tests. * platform/graphics/cg/GraphicsContextCG.cpp: (WebCore::deviceRGBColorSpaceRef): * platform/graphics/cg/GraphicsContextPlatformPrivateCG.h: git-svn-id: svn://svn.chromium.org/blink/trunk@54465 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment