| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google 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 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 #ifndef LazyDecodingPixelRef_h | 26 #ifndef LazyDecodingPixelRef_h |
| 27 #define LazyDecodingPixelRef_h | 27 #define LazyDecodingPixelRef_h |
| 28 | 28 |
| 29 #include "SkFlattenableBuffers.h" | 29 #include "SkFlattenableBuffers.h" |
| 30 #include "SkPixelRef.h" | 30 #include "SkPixelRef.h" |
| 31 #include "SkRect.h" | 31 #include "SkRect.h" |
| 32 #include "SkSize.h" | 32 #include "SkSize.h" |
| 33 #include "SkTypes.h" | 33 #include "SkTypes.h" |
| 34 #include "skia/ext/lazy_pixel_ref.h" | 34 #include "skia/ext/lazy_pixel_ref.h" |
| 35 | 35 #include "wtf/RefPtr.h" |
| 36 #include <wtf/RefPtr.h> | 36 #include "wtf/ThreadingPrimitives.h" |
| 37 #include <wtf/ThreadingPrimitives.h> | |
| 38 | 37 |
| 39 using skia::LazyPixelRef; | 38 using skia::LazyPixelRef; |
| 40 | 39 |
| 41 class SkData; | 40 class SkData; |
| 42 | 41 |
| 43 namespace WebCore { | 42 namespace WebCore { |
| 44 | 43 |
| 45 class ImageFrameGenerator; | 44 class ImageFrameGenerator; |
| 46 class ScaledImageFragment; | 45 class ScaledImageFragment; |
| 47 | 46 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 75 SkISize m_scaledSize; | 74 SkISize m_scaledSize; |
| 76 SkIRect m_scaledSubset; | 75 SkIRect m_scaledSubset; |
| 77 | 76 |
| 78 const ScaledImageFragment* m_lockedCachedImage; | 77 const ScaledImageFragment* m_lockedCachedImage; |
| 79 Mutex m_mutex; | 78 Mutex m_mutex; |
| 80 }; | 79 }; |
| 81 | 80 |
| 82 } // namespace WebCore | 81 } // namespace WebCore |
| 83 | 82 |
| 84 #endif // LazyDecodingPixelRef_h_ | 83 #endif // LazyDecodingPixelRef_h_ |
| OLD | NEW |