Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(45)

Side by Side Diff: Source/core/css/CSSPropertySourceData.cpp

Issue 18733007: core/css: Include wtf files using "wtf/foo.h" form. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/core/css/CSSPrimitiveValueMappings.h ('k') | Source/core/css/CSSRule.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/core/css/CSSPrimitiveValueMappings.h ('k') | Source/core/css/CSSRule.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698