| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2011 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 12 matching lines...) Expand all Loading... |
| 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #include "core/css/CSSCrossfadeValue.h" | 26 #include "core/css/CSSCrossfadeValue.h" |
| 27 | 27 |
| 28 #include "core/css/CSSImageValue.h" | 28 #include "core/css/CSSImageValue.h" |
| 29 #include "core/layout/LayoutObject.h" | 29 #include "core/layout/LayoutObject.h" |
| 30 #include "core/style/StyleFetchedImage.h" | 30 #include "core/style/StyleFetchedImage.h" |
| 31 #include "core/svg/graphics/SVGImageForContainer.h" | 31 #include "core/svg/graphics/SVGImageForContainer.h" |
| 32 #include "platform/graphics/CrossfadeGeneratedImage.h" | 32 #include "platform/graphics/CrossfadeGeneratedImage.h" |
| 33 #include "wtf/text/StringBuilder.h" | 33 #include "platform/wtf/text/StringBuilder.h" |
| 34 | 34 |
| 35 namespace blink { | 35 namespace blink { |
| 36 | 36 |
| 37 static bool SubimageIsPending(CSSValue* value) { | 37 static bool SubimageIsPending(CSSValue* value) { |
| 38 if (value->IsImageValue()) | 38 if (value->IsImageValue()) |
| 39 return ToCSSImageValue(value)->IsCachePending(); | 39 return ToCSSImageValue(value)->IsCachePending(); |
| 40 | 40 |
| 41 if (value->IsImageGeneratorValue()) | 41 if (value->IsImageGeneratorValue()) |
| 42 return ToCSSImageGeneratorValue(value)->IsPending(); | 42 return ToCSSImageGeneratorValue(value)->IsPending(); |
| 43 | 43 |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 294 visitor->Trace(from_value_); | 294 visitor->Trace(from_value_); |
| 295 visitor->Trace(to_value_); | 295 visitor->Trace(to_value_); |
| 296 visitor->Trace(percentage_value_); | 296 visitor->Trace(percentage_value_); |
| 297 visitor->Trace(cached_from_image_); | 297 visitor->Trace(cached_from_image_); |
| 298 visitor->Trace(cached_to_image_); | 298 visitor->Trace(cached_to_image_); |
| 299 visitor->Trace(crossfade_subimage_observer_); | 299 visitor->Trace(crossfade_subimage_observer_); |
| 300 CSSImageGeneratorValue::TraceAfterDispatch(visitor); | 300 CSSImageGeneratorValue::TraceAfterDispatch(visitor); |
| 301 } | 301 } |
| 302 | 302 |
| 303 } // namespace blink | 303 } // namespace blink |
| OLD | NEW |