diff -r 79859ed3eea9 -r 919f36ff910f webengine/osswebengine/WebCore/platform/symbian/FontSymbian.cpp --- a/webengine/osswebengine/WebCore/platform/symbian/FontSymbian.cpp Tue Aug 31 16:17:46 2010 +0300 +++ b/webengine/osswebengine/WebCore/platform/symbian/FontSymbian.cpp Wed Sep 01 12:28:30 2010 +0100 @@ -25,7 +25,7 @@ #include "IntRect.h" #include "WebCoreGraphicsContext.h" #include -#include +#include #include #include "StaticObjectsContainer.h" #include "PictographSymbian.h" @@ -65,8 +65,9 @@ PlatformFontCache* cache = StaticObjectsContainer::instance()->fontCache(); CFont* font = cache->zoomedFont(m_fontDescription, cache->fontZoomFactor()); // RenderBlock::layoutColumns create a 0 platform context to do a faked paint + // during layout - weird stuff :) - if (!graphicsContext->platformContext()) + if (!graphicsContext || !graphicsContext->platformContext()) return; CFbsBitGc& bitgc = graphicsContext->platformContext()->gc();