| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Antti Koivisto (koivisto@kde.org) | 2 * Copyright (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
reserved. | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
reserved. |
| 4 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. | 4 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 #include "platform/transforms/RotateTransformOperation.h" | 45 #include "platform/transforms/RotateTransformOperation.h" |
| 46 #include "platform/transforms/ScaleTransformOperation.h" | 46 #include "platform/transforms/ScaleTransformOperation.h" |
| 47 #include "platform/transforms/TranslateTransformOperation.h" | 47 #include "platform/transforms/TranslateTransformOperation.h" |
| 48 #include "wtf/MathExtras.h" | 48 #include "wtf/MathExtras.h" |
| 49 | 49 |
| 50 #include <algorithm> | 50 #include <algorithm> |
| 51 | 51 |
| 52 namespace blink { | 52 namespace blink { |
| 53 | 53 |
| 54 struct SameSizeAsBorderValue { | 54 struct SameSizeAsBorderValue { |
| 55 RGBA32 m_color; | 55 Color m_color; |
| 56 unsigned m_width; | 56 unsigned m_width; |
| 57 }; | 57 }; |
| 58 | 58 |
| 59 static_assert(sizeof(BorderValue) == sizeof(SameSizeAsBorderValue), "BorderValue
should stay small"); | 59 static_assert(sizeof(BorderValue) == sizeof(SameSizeAsBorderValue), "BorderValue
should stay small"); |
| 60 | 60 |
| 61 struct SameSizeAsComputedStyle : public RefCounted<SameSizeAsComputedStyle> { | 61 struct SameSizeAsComputedStyle : public RefCounted<SameSizeAsComputedStyle> { |
| 62 void* dataRefs[7]; | 62 void* dataRefs[7]; |
| 63 void* ownPtrs[1]; | 63 void* ownPtrs[1]; |
| 64 void* dataRefSvgStyle; | 64 void* dataRefSvgStyle; |
| 65 | 65 |
| (...skipping 1764 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1830 } | 1830 } |
| 1831 | 1831 |
| 1832 void ComputedStyle::copyChildDependentFlagsFrom(const ComputedStyle& other) | 1832 void ComputedStyle::copyChildDependentFlagsFrom(const ComputedStyle& other) |
| 1833 { | 1833 { |
| 1834 setEmptyState(other.emptyState()); | 1834 setEmptyState(other.emptyState()); |
| 1835 if (other.hasExplicitlyInheritedProperties()) | 1835 if (other.hasExplicitlyInheritedProperties()) |
| 1836 setHasExplicitlyInheritedProperties(); | 1836 setHasExplicitlyInheritedProperties(); |
| 1837 } | 1837 } |
| 1838 | 1838 |
| 1839 } // namespace blink | 1839 } // namespace blink |
| OLD | NEW |