Changeset 56710 in webkit


Ignore:
Timestamp:
Mar 29, 2010 12:41:01 AM (14 years ago)
Author:
Philippe Normand
Message:

2010-03-26 Philippe Normand <pnormand@igalia.com>

Reviewed by Eric Seidel.

[GStreamer] define static variables with DEFINE_STATIC_LOCAL macro
https://bugs.webkit.org/show_bug.cgi?id=36653

Defined the static variables using DEFINE_STATIC_GLOBAL.

  • platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp: (WebCore::mimeTypeCache):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r56709 r56710  
     12010-03-26  Philippe Normand  <pnormand@igalia.com>
     2
     3        Reviewed by Eric Seidel.
     4
     5        [GStreamer] define static variables with DEFINE_STATIC_LOCAL macro
     6        https://bugs.webkit.org/show_bug.cgi?id=36653
     7
     8        Defined the static variables using DEFINE_STATIC_GLOBAL.
     9
     10        * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
     11        (WebCore::mimeTypeCache):
     12
    1132010-03-26  Philippe Normand  <pnormand@igalia.com>
    214
  • trunk/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp

    r56707 r56710  
    12241224    doGstInit();
    12251225
    1226     static HashSet<String> cache;
    1227     static bool typeListInitialized = false;
     1226    DEFINE_STATIC_LOCAL(HashSet<String>, cache, ());
     1227    DEFINE_STATIC_LOCAL(bool, typeListInitialized, (false));
    12281228
    12291229    if (!typeListInitialized) {
Note: See TracChangeset for help on using the changeset viewer.