webengine/osswebengine/WebCore/platform/symbian/FormFillController.cpp
changeset 10 a359256acfc6
parent 0 dd21522fd290
child 35 1f3c3f2f5b0a
equal deleted inserted replaced
5:10e98eab6f85 10:a359256acfc6
    78         float zoomFactor =  (float)cache->fontZoomFactor();
    78         float zoomFactor =  (float)cache->fontZoomFactor();
    79         if(!m_popup) {
    79         if(!m_popup) {
    80             // system font to be used by popup
    80             // system font to be used by popup
    81 
    81 
    82             float newFont = 12.0f * zoomFactor /100.0f;
    82             float newFont = 12.0f * zoomFactor /100.0f;
    83             int textSize = 2;
    83             FontPlatformData* font = FontCache::getDeviceDefaultFont(newFont);
    84             FontPlatformData* font = FontCache::getDeviceDefaultFont(textSize*newFont);
       
    85             m_popup = m_callback->createFormFillPopup(font->Font());
    84             m_popup = m_callback->createFormFillPopup(font->Font());
    86         }
    85         }
    87         if (!m_popup) {
    86         if (!m_popup) {
    88             return;
    87             return;
    89         }
    88         }