| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2010 Google Inc. All rights reserved. | 2 * Copyright (c) 2010 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #include "config.h" | 31 #include "config.h" |
| 32 | 32 |
| 33 #ifdef SKIP_STATIC_CONSTRUCTORS_ON_GCC | 33 #ifdef SKIP_STATIC_CONSTRUCTORS_ON_GCC |
| 34 #define CSSPROPERTYSOURCEDATA_HIDE_GLOBALS 1 | 34 #define CSSPROPERTYSOURCEDATA_HIDE_GLOBALS 1 |
| 35 #endif | 35 #endif |
| 36 | 36 |
| 37 #include "core/css/CSSPropertySourceData.h" | 37 #include "core/css/CSSPropertySourceData.h" |
| 38 | 38 |
| 39 #include <wtf/StaticConstructors.h> | 39 #include "wtf/StaticConstructors.h" |
| 40 #include <wtf/text/StringBuilder.h> | 40 #include "wtf/text/StringBuilder.h" |
| 41 #include <wtf/text/StringHash.h> | 41 #include "wtf/text/StringHash.h" |
| 42 | 42 |
| 43 namespace WebCore { | 43 namespace WebCore { |
| 44 | 44 |
| 45 SourceRange::SourceRange() | 45 SourceRange::SourceRange() |
| 46 : start(0) | 46 : start(0) |
| 47 , end(0) | 47 , end(0) |
| 48 { | 48 { |
| 49 } | 49 } |
| 50 | 50 |
| 51 SourceRange::SourceRange(unsigned start, unsigned end) | 51 SourceRange::SourceRange(unsigned start, unsigned end) |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 void CSSPropertySourceData::init() | 121 void CSSPropertySourceData::init() |
| 122 { | 122 { |
| 123 static bool initialized; | 123 static bool initialized; |
| 124 if (!initialized) { | 124 if (!initialized) { |
| 125 new ((void *) &emptyCSSPropertySourceData) CSSPropertySourceData("", "e"
, false, false, false, SourceRange(0, 0)); | 125 new ((void *) &emptyCSSPropertySourceData) CSSPropertySourceData("", "e"
, false, false, false, SourceRange(0, 0)); |
| 126 initialized = true; | 126 initialized = true; |
| 127 } | 127 } |
| 128 } | 128 } |
| 129 | 129 |
| 130 } // namespace WebCore | 130 } // namespace WebCore |
| OLD | NEW |