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

Side by Side Diff: third_party/WebKit/Source/core/css/CSSBasicShapeValue.h

Issue 1365003002: Oilpan: exempt CSSBasicShapeValue from GC plugin checking. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 | « no previous file | no next file » | 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) 2011 Adobe Systems Incorporated. All rights reserved. 2 * Copyright (C) 2011 Adobe Systems Incorporated. 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above 8 * 1. Redistributions of source code must retain the above
9 * copyright notice, this list of conditions and the following 9 * copyright notice, this list of conditions and the following
10 * disclaimer. 10 * disclaimer.
(...skipping 22 matching lines...) Expand all
33 #include "core/css/CSSPrimitiveValue.h" 33 #include "core/css/CSSPrimitiveValue.h"
34 #include "core/css/CSSValue.h" 34 #include "core/css/CSSValue.h"
35 #include "core/css/CSSValuePair.h" 35 #include "core/css/CSSValuePair.h"
36 #include "platform/graphics/GraphicsTypes.h" 36 #include "platform/graphics/GraphicsTypes.h"
37 #include "wtf/RefPtr.h" 37 #include "wtf/RefPtr.h"
38 #include "wtf/Vector.h" 38 #include "wtf/Vector.h"
39 #include "wtf/text/WTFString.h" 39 #include "wtf/text/WTFString.h"
40 40
41 namespace blink { 41 namespace blink {
42 42
43 class CORE_EXPORT CSSBasicShapeValue : public CSSValue { 43 // TODO(Oilpan): the GC plugin is not capable of understanding that
44 // the traceAfterDispatch() method covers subtypes of CSSBasicShapeValue.
45 // Temporarily exempt it from being checked
46 class CORE_EXPORT GC_PLUGIN_IGNORE("535448") CSSBasicShapeValue : public CSSValu e {
44 public: 47 public:
45 enum Type { 48 enum Type {
46 CSSBasicShapeEllipseType, 49 CSSBasicShapeEllipseType,
47 CSSBasicShapePolygonType, 50 CSSBasicShapePolygonType,
48 CSSBasicShapeCircleType, 51 CSSBasicShapeCircleType,
49 CSSBasicShapeInsetType 52 CSSBasicShapeInsetType
50 }; 53 };
51 54
52 String customCSSText() const; 55 String customCSSText() const;
53 56
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 DEFINE_CSS_VALUE_TYPE_CASTS(CSSBasicShapeValue, isBasicShapeValue()); 239 DEFINE_CSS_VALUE_TYPE_CASTS(CSSBasicShapeValue, isBasicShapeValue());
237 240
238 DEFINE_TYPE_CASTS(CSSBasicShapeCircleValue, CSSBasicShapeValue, shape, shape->is Circle(), shape.isCircle()); 241 DEFINE_TYPE_CASTS(CSSBasicShapeCircleValue, CSSBasicShapeValue, shape, shape->is Circle(), shape.isCircle());
239 DEFINE_TYPE_CASTS(CSSBasicShapeEllipseValue, CSSBasicShapeValue, shape, shape->i sEllipse(), shape.isEllipse()); 242 DEFINE_TYPE_CASTS(CSSBasicShapeEllipseValue, CSSBasicShapeValue, shape, shape->i sEllipse(), shape.isEllipse());
240 DEFINE_TYPE_CASTS(CSSBasicShapePolygonValue, CSSBasicShapeValue, shape, shape->i sPolygon(), shape.isPolygon()); 243 DEFINE_TYPE_CASTS(CSSBasicShapePolygonValue, CSSBasicShapeValue, shape, shape->i sPolygon(), shape.isPolygon());
241 DEFINE_TYPE_CASTS(CSSBasicShapeInsetValue, CSSBasicShapeValue, shape, shape->isI nset(), shape.isInset()); 244 DEFINE_TYPE_CASTS(CSSBasicShapeInsetValue, CSSBasicShapeValue, shape, shape->isI nset(), shape.isInset());
242 245
243 } // namespace blink 246 } // namespace blink
244 247
245 #endif // CSSBasicShapeValue_h 248 #endif // CSSBasicShapeValue_h
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698