| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008 Apple Inc. 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 * 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 21 matching lines...) Expand all Loading... |
| 32 #include "wtf/HashCountedSet.h" | 32 #include "wtf/HashCountedSet.h" |
| 33 #include "wtf/RefPtr.h" | 33 #include "wtf/RefPtr.h" |
| 34 | 34 |
| 35 namespace blink { | 35 namespace blink { |
| 36 | 36 |
| 37 class Document; | 37 class Document; |
| 38 class Image; | 38 class Image; |
| 39 class LayoutObject; | 39 class LayoutObject; |
| 40 | 40 |
| 41 struct SizeAndCount { | 41 struct SizeAndCount { |
| 42 DISALLOW_ALLOCATION(); |
| 42 SizeAndCount(IntSize newSize = IntSize(), int newCount = 0) | 43 SizeAndCount(IntSize newSize = IntSize(), int newCount = 0) |
| 43 : size(newSize) | 44 : size(newSize) |
| 44 , count(newCount) | 45 , count(newCount) |
| 45 { | 46 { |
| 46 } | 47 } |
| 47 | 48 |
| 48 IntSize size; | 49 IntSize size; |
| 49 int count; | 50 int count; |
| 50 }; | 51 }; |
| 51 | 52 |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 // there are clients in the LayoutObjectSizeCountMap. | 87 // there are clients in the LayoutObjectSizeCountMap. |
| 87 SelfKeepAlive<CSSImageGeneratorValue> m_keepAlive; | 88 SelfKeepAlive<CSSImageGeneratorValue> m_keepAlive; |
| 88 #endif | 89 #endif |
| 89 }; | 90 }; |
| 90 | 91 |
| 91 DEFINE_CSS_VALUE_TYPE_CASTS(CSSImageGeneratorValue, isImageGeneratorValue()); | 92 DEFINE_CSS_VALUE_TYPE_CASTS(CSSImageGeneratorValue, isImageGeneratorValue()); |
| 92 | 93 |
| 93 } // namespace blink | 94 } // namespace blink |
| 94 | 95 |
| 95 #endif // CSSImageGeneratorValue_h | 96 #endif // CSSImageGeneratorValue_h |
| OLD | NEW |