webengine/osswebengine/WebCore/platform/symbian/FontSymbian.cpp
branchRCL_3
changeset 47 e1bea15f9a39
parent 10 a359256acfc6
child 48 79859ed3eea9
--- a/webengine/osswebengine/WebCore/platform/symbian/FontSymbian.cpp	Thu Jul 15 19:53:20 2010 +0300
+++ b/webengine/osswebengine/WebCore/platform/symbian/FontSymbian.cpp	Thu Aug 19 10:58:56 2010 +0300
@@ -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();