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

Side by Side Diff: third_party/WebKit/Source/core/css/StylePropertySet.cpp

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/StylePropertySet.h ('k') | third_party/WebKit/Source/core/css/StyleRuleKeyframe.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698