Ignore:
Timestamp:
May 22, 2013, 1:52:07 PM (12 years ago)
Author:
[email protected]
Message:

Remove CSSPropertySourceData emptyCSSPropertySourceData
https://bugs.webkit.org/show_bug.cgi?id=116517

Reviewed by Darin Adler.

This was added for chromium and does not seem to be used
anywhere anymore.

  • css/CSSParser.cpp:

(WebCore::CSSParser::CSSParser):

  • css/CSSPropertySourceData.cpp:
  • css/CSSPropertySourceData.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/css/CSSPropertySourceData.cpp

    r150417 r150539  
    3131
    3232#include "config.h"
    33 
    34 #ifdef SKIP_STATIC_CONSTRUCTORS_ON_GCC
    35 #define CSSPROPERTYSOURCEDATA_HIDE_GLOBALS 1
    36 #endif
    37 
    3833#include "CSSPropertySourceData.h"
    3934
     
    108103}
    109104
    110 // Global init routines
    111 DEFINE_GLOBAL(CSSPropertySourceData, emptyCSSPropertySourceData, "", "e", false, false)
    112 
    113 // static
    114 void CSSPropertySourceData::init()
    115 {
    116     static bool initialized;
    117     if (!initialized) {
    118         new ((void *) &emptyCSSPropertySourceData) CSSPropertySourceData("", "e", false, false, SourceRange(0, 0));
    119         initialized = true;
    120     }
    121 }
    122 
    123105} // namespace WebCore
Note: See TracChangeset for help on using the changeset viewer.