| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2001 Dirk Mueller ( mueller@kde.org ) | 4 * (C) 2001 Dirk Mueller ( mueller@kde.org ) |
| 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights | 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights |
| 6 * reserved. | 6 * reserved. |
| 7 * Copyright (C) 2006 Andrew Wellington (proton@wiretapped.net) | 7 * Copyright (C) 2006 Andrew Wellington (proton@wiretapped.net) |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 21 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 22 * Boston, MA 02110-1301, USA. | 22 * Boston, MA 02110-1301, USA. |
| 23 * | 23 * |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #include "platform/Length.h" | 26 #include "platform/Length.h" |
| 27 | 27 |
| 28 #include "platform/CalculationValue.h" | 28 #include "platform/CalculationValue.h" |
| 29 #include "platform/animation/AnimationUtilities.h" | 29 #include "platform/animation/AnimationUtilities.h" |
| 30 | 30 |
| 31 using namespace WTF; | |
| 32 | |
| 33 namespace blink { | 31 namespace blink { |
| 34 | 32 |
| 35 class CalculationValueHandleMap { | 33 class CalculationValueHandleMap { |
| 36 USING_FAST_MALLOC(CalculationValueHandleMap); | 34 USING_FAST_MALLOC(CalculationValueHandleMap); |
| 37 WTF_MAKE_NONCOPYABLE(CalculationValueHandleMap); | 35 WTF_MAKE_NONCOPYABLE(CalculationValueHandleMap); |
| 38 | 36 |
| 39 public: | 37 public: |
| 40 CalculationValueHandleMap() : index_(1) {} | 38 CalculationValueHandleMap() : index_(1) {} |
| 41 | 39 |
| 42 int insert(PassRefPtr<CalculationValue> calc_value) { | 40 int insert(PassRefPtr<CalculationValue> calc_value) { |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 } | 173 } |
| 176 | 174 |
| 177 struct SameSizeAsLength { | 175 struct SameSizeAsLength { |
| 178 int32_t value; | 176 int32_t value; |
| 179 int32_t meta_data; | 177 int32_t meta_data; |
| 180 }; | 178 }; |
| 181 static_assert(sizeof(Length) == sizeof(SameSizeAsLength), | 179 static_assert(sizeof(Length) == sizeof(SameSizeAsLength), |
| 182 "length should stay small"); | 180 "length should stay small"); |
| 183 | 181 |
| 184 } // namespace blink | 182 } // namespace blink |
| OLD | NEW |