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

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, 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 * 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 #include "core/css/CSSTimingFunctionValue.h" 55 #include "core/css/CSSTimingFunctionValue.h"
56 #include "core/css/CSSURIValue.h" 56 #include "core/css/CSSURIValue.h"
57 #include "core/css/CSSUnicodeRangeValue.h" 57 #include "core/css/CSSUnicodeRangeValue.h"
58 #include "core/css/CSSUnsetValue.h" 58 #include "core/css/CSSUnsetValue.h"
59 #include "core/css/CSSValueList.h" 59 #include "core/css/CSSValueList.h"
60 #include "core/css/CSSValuePair.h" 60 #include "core/css/CSSValuePair.h"
61 #include "core/css/CSSVariableReferenceValue.h" 61 #include "core/css/CSSVariableReferenceValue.h"
62 62
63 namespace blink { 63 namespace blink {
64 64
65 struct SameSizeAsCSSValue : public RefCountedWillBeGarbageCollectedFinalized<Sam eSizeAsCSSValue> { 65 struct SameSizeAsCSSValue : public GarbageCollectedFinalized<SameSizeAsCSSValue> {
66 uint32_t bitfields; 66 uint32_t bitfields;
67 }; 67 };
68 68
69 static_assert(sizeof(CSSValue) <= sizeof(SameSizeAsCSSValue), "CSSValue should s tay small"); 69 static_assert(sizeof(CSSValue) <= sizeof(SameSizeAsCSSValue), "CSSValue should s tay small");
70 70
71 bool CSSValue::isImplicitInitialValue() const 71 bool CSSValue::isImplicitInitialValue() const
72 { 72 {
73 return m_classType == InitialClass && toCSSInitialValue(this)->isImplicit(); 73 return m_classType == InitialClass && toCSSInitialValue(this)->isImplicit();
74 } 74 }
75 75
(...skipping 547 matching lines...) Expand 10 before | Expand all | Expand 10 after
623 toCSSVariableReferenceValue(this)->traceAfterDispatch(visitor); 623 toCSSVariableReferenceValue(this)->traceAfterDispatch(visitor);
624 return; 624 return;
625 case CustomPropertyDeclarationClass: 625 case CustomPropertyDeclarationClass:
626 toCSSCustomPropertyDeclaration(this)->traceAfterDispatch(visitor); 626 toCSSCustomPropertyDeclaration(this)->traceAfterDispatch(visitor);
627 return; 627 return;
628 } 628 }
629 ASSERT_NOT_REACHED(); 629 ASSERT_NOT_REACHED();
630 } 630 }
631 631
632 } // namespace blink 632 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698