| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2012 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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 { | 135 { |
| 136 TRACE_EVENT1(TRACE_DISABLED_BY_DEFAULT("devtools.timeline"), "PaintImage", "
data", InspectorPaintImageEvent::data(&layoutObject, *m_bestFitImage.get())); | 136 TRACE_EVENT1(TRACE_DISABLED_BY_DEFAULT("devtools.timeline"), "PaintImage", "
data", InspectorPaintImageEvent::data(&layoutObject, *m_bestFitImage.get())); |
| 137 return m_bestFitImage->getImage()->currentFrameKnownToBeOpaque(Image::PreCac
heMetadata); | 137 return m_bestFitImage->getImage()->currentFrameKnownToBeOpaque(Image::PreCac
heMetadata); |
| 138 } | 138 } |
| 139 | 139 |
| 140 DEFINE_TRACE(StyleFetchedImageSet) | 140 DEFINE_TRACE(StyleFetchedImageSet) |
| 141 { | 141 { |
| 142 visitor->trace(m_bestFitImage); | 142 visitor->trace(m_bestFitImage); |
| 143 visitor->trace(m_imageSetValue); | 143 visitor->trace(m_imageSetValue); |
| 144 StyleImage::trace(visitor); | 144 StyleImage::trace(visitor); |
| 145 ResourceClient::trace(visitor); |
| 145 } | 146 } |
| 146 | 147 |
| 147 } // namespace blink | 148 } // namespace blink |
| OLD | NEW |