Changeset 135345 in webkit


Ignore:
Timestamp:
Nov 20, 2012, 8:54:44 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

REGRESSION(r135263): Fix a wrong argument for udat_close
https://bugs.webkit.org/show_bug.cgi?id=102856

Patch by Kunihiko Sakamoto <ksakamoto@chromium.org> on 2012-11-20
Reviewed by Kent Tamura.

Fixed a bug that passed wrong pointer to udat_close.

No new tests. No changes in behavior.

  • platform/text/LocaleICU.cpp:

(WebCore::LocaleICU::initializeDateTimeFormat): Close correct object.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r135340 r135345  
     12012-11-20  Kunihiko Sakamoto  <ksakamoto@chromium.org>
     2
     3        REGRESSION(r135263): Fix a wrong argument for udat_close
     4        https://bugs.webkit.org/show_bug.cgi?id=102856
     5
     6        Reviewed by Kent Tamura.
     7
     8        Fixed a bug that passed wrong pointer to udat_close.
     9
     10        No new tests. No changes in behavior.
     11
     12        * platform/text/LocaleICU.cpp:
     13        (WebCore::LocaleICU::initializeDateTimeFormat): Close correct object.
     14
    1152012-11-20  Kentaro Hara  <haraken@chromium.org>
    216
  • trunk/Source/WebCore/platform/text/LocaleICU.cpp

    r135263 r135345  
    306306    UDateFormat* dateTimeFormatWithoutSeconds = openDateFormat(UDAT_SHORT, UDAT_SHORT);
    307307    m_dateTimeFormatWithoutSeconds = getDateFormatPattern(dateTimeFormatWithoutSeconds);
    308     udat_close(dateTimeFormatWithSeconds);
     308    udat_close(dateTimeFormatWithoutSeconds);
    309309
    310310    OwnPtr<Vector<String> > timeAMPMLabels = createLabelVector(m_mediumTimeFormat, UDAT_AM_PMS, UCAL_AM, 2);
Note: See TracChangeset for help on using the changeset viewer.