Changeset 50959 in webkit


Ignore:
Timestamp:
Nov 13, 2009 12:04:24 PM (14 years ago)
Author:
kenneth@webkit.org
Message:

Set the locale to C and not to the current one in use on the system.

Reviewed by Simon Hausmann.

  • DumpRenderTree/qt/DumpRenderTree.cpp:

(WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):

Location:
trunk/WebKitTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r50943 r50959  
     12009-11-13  Kenneth Rohde Christiansen  <kenneth@webkit.org>
     2
     3        Reviewed by Simon Hausmann.
     4
     5        Set the locale to C and not to the current one in use on the system.
     6
     7        * DumpRenderTree/qt/DumpRenderTree.cpp:
     8        (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
     9
    1102009-11-13  Adam Roben  <aroben@apple.com>
    211
  • trunk/WebKitTools/DumpRenderTree/qt/DumpRenderTree.cpp

    r50942 r50959  
    305305    m_page->undoStack()->clear();
    306306
    307     QLocale qlocale;
    308     QLocale::setDefault(qlocale);
     307    QLocale::setDefault(QLocale::c());
     308    setlocale(LC_ALL, "");
    309309}
    310310
Note: See TracChangeset for help on using the changeset viewer.