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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 * Copyright (C) 2011 Andreas Kling (kling@webkit.org) 2 * Copyright (C) 2011 Andreas Kling (kling@webkit.org)
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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 #include "core/css/CSSTimingFunctionValue.h" 58 #include "core/css/CSSTimingFunctionValue.h"
59 #include "core/css/CSSURIValue.h" 59 #include "core/css/CSSURIValue.h"
60 #include "core/css/CSSUnicodeRangeValue.h" 60 #include "core/css/CSSUnicodeRangeValue.h"
61 #include "core/css/CSSUnsetValue.h" 61 #include "core/css/CSSUnsetValue.h"
62 #include "core/css/CSSValueList.h" 62 #include "core/css/CSSValueList.h"
63 #include "core/css/CSSValuePair.h" 63 #include "core/css/CSSValuePair.h"
64 #include "core/css/CSSVariableReferenceValue.h" 64 #include "core/css/CSSVariableReferenceValue.h"
65 65
66 namespace blink { 66 namespace blink {
67 67
68 struct SameSizeAsCSSValue : public RefCountedWillBeGarbageCollectedFinalized<Sam eSizeAsCSSValue> { 68 struct SameSizeAsCSSValue : public GarbageCollectedFinalized<SameSizeAsCSSValue> {
69 uint32_t bitfields; 69 uint32_t bitfields;
70 }; 70 };
71 71
72 static_assert(sizeof(CSSValue) <= sizeof(SameSizeAsCSSValue), "CSSValue should s tay small"); 72 static_assert(sizeof(CSSValue) <= sizeof(SameSizeAsCSSValue), "CSSValue should s tay small");
73 73
74 bool CSSValue::isImplicitInitialValue() const 74 bool CSSValue::isImplicitInitialValue() const
75 { 75 {
76 return m_classType == InitialClass && toCSSInitialValue(this)->isImplicit(); 76 return m_classType == InitialClass && toCSSInitialValue(this)->isImplicit();
77 } 77 }
78 78
(...skipping 586 matching lines...) Expand 10 before | Expand all | Expand 10 after
665 toCSSVariableReferenceValue(this)->traceAfterDispatch(visitor); 665 toCSSVariableReferenceValue(this)->traceAfterDispatch(visitor);
666 return; 666 return;
667 case CustomPropertyDeclarationClass: 667 case CustomPropertyDeclarationClass:
668 toCSSCustomPropertyDeclaration(this)->traceAfterDispatch(visitor); 668 toCSSCustomPropertyDeclaration(this)->traceAfterDispatch(visitor);
669 return; 669 return;
670 } 670 }
671 ASSERT_NOT_REACHED(); 671 ASSERT_NOT_REACHED();
672 } 672 }
673 673
674 } // namespace blink 674 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSValue.h ('k') | third_party/WebKit/Source/core/css/CSSValueList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698