| OLD | NEW |
| 1 /* | 1 /* |
| 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) | 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) |
| 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc. | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc. |
| 4 * All rights reserved. | 4 * All rights reserved. |
| 5 * Copyright (C) 2011 Research In Motion Limited. All rights reserved. | 5 * Copyright (C) 2011 Research In Motion Limited. All rights reserved. |
| 6 * Copyright (C) 2013 Intel Corporation. All rights reserved. | 6 * Copyright (C) 2013 Intel Corporation. All rights reserved. |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 #include "core/css/CSSPropertyMetadata.h" | 29 #include "core/css/CSSPropertyMetadata.h" |
| 30 #include "core/css/StylePropertySerializer.h" | 30 #include "core/css/StylePropertySerializer.h" |
| 31 #include "core/css/StyleSheetContents.h" | 31 #include "core/css/StyleSheetContents.h" |
| 32 #include "core/css/parser/CSSParser.h" | 32 #include "core/css/parser/CSSParser.h" |
| 33 #include "core/css/parser/CSSParserContext.h" | 33 #include "core/css/parser/CSSParserContext.h" |
| 34 #include "core/frame/UseCounter.h" | 34 #include "core/frame/UseCounter.h" |
| 35 #include "platform/RuntimeEnabledFeatures.h" | 35 #include "platform/RuntimeEnabledFeatures.h" |
| 36 #include "wtf/text/StringBuilder.h" | 36 #include "wtf/text/StringBuilder.h" |
| 37 | 37 |
| 38 #ifndef NDEBUG | 38 #ifndef NDEBUG |
| 39 #include <stdio.h> |
| 39 #include "wtf/text/CString.h" | 40 #include "wtf/text/CString.h" |
| 40 #include <stdio.h> | |
| 41 #endif | 41 #endif |
| 42 | 42 |
| 43 namespace blink { | 43 namespace blink { |
| 44 | 44 |
| 45 static size_t sizeForImmutableStylePropertySetWithPropertyCount( | 45 static size_t sizeForImmutableStylePropertySetWithPropertyCount( |
| 46 unsigned count) { | 46 unsigned count) { |
| 47 return sizeof(ImmutableStylePropertySet) - sizeof(void*) + | 47 return sizeof(ImmutableStylePropertySet) - sizeof(void*) + |
| 48 sizeof(Member<CSSValue>) * count + | 48 sizeof(Member<CSSValue>) * count + |
| 49 sizeof(StylePropertyMetadata) * count; | 49 sizeof(StylePropertyMetadata) * count; |
| 50 } | 50 } |
| (...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 612 | 612 |
| 613 MutableStylePropertySet* MutableStylePropertySet::create( | 613 MutableStylePropertySet* MutableStylePropertySet::create( |
| 614 const CSSProperty* properties, | 614 const CSSProperty* properties, |
| 615 unsigned count) { | 615 unsigned count) { |
| 616 return new MutableStylePropertySet(properties, count); | 616 return new MutableStylePropertySet(properties, count); |
| 617 } | 617 } |
| 618 | 618 |
| 619 DEFINE_TRACE(CSSLazyPropertyParser) {} | 619 DEFINE_TRACE(CSSLazyPropertyParser) {} |
| 620 | 620 |
| 621 } // namespace blink | 621 } // namespace blink |
| OLD | NEW |