| 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 * 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 23 matching lines...) Expand all Loading... |
| 34 #include "wtf/Allocator.h" | 34 #include "wtf/Allocator.h" |
| 35 #include "wtf/Noncopyable.h" | 35 #include "wtf/Noncopyable.h" |
| 36 #include "wtf/PassRefPtr.h" | 36 #include "wtf/PassRefPtr.h" |
| 37 #include "wtf/RefCounted.h" | 37 #include "wtf/RefCounted.h" |
| 38 #include "wtf/RefPtr.h" | 38 #include "wtf/RefPtr.h" |
| 39 #include "wtf/ThreadSafeRefCounted.h" | 39 #include "wtf/ThreadSafeRefCounted.h" |
| 40 #include "wtf/ThreadingPrimitives.h" | 40 #include "wtf/ThreadingPrimitives.h" |
| 41 #include "wtf/Vector.h" | 41 #include "wtf/Vector.h" |
| 42 #include <memory> | 42 #include <memory> |
| 43 | 43 |
| 44 class SkData; | |
| 45 struct SkYUVSizeInfo; | 44 struct SkYUVSizeInfo; |
| 46 | 45 |
| 47 namespace blink { | 46 namespace blink { |
| 48 | 47 |
| 49 class ImageDecoder; | 48 class ImageDecoder; |
| 50 | 49 |
| 51 class PLATFORM_EXPORT ImageDecoderFactory { | 50 class PLATFORM_EXPORT ImageDecoderFactory { |
| 52 USING_FAST_MALLOC(ImageDecoderFactory); | 51 USING_FAST_MALLOC(ImageDecoderFactory); |
| 53 WTF_MAKE_NONCOPYABLE(ImageDecoderFactory); | 52 WTF_MAKE_NONCOPYABLE(ImageDecoderFactory); |
| 54 | 53 |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 // Prevents multiple decode operations on the same data. | 148 // Prevents multiple decode operations on the same data. |
| 150 Mutex m_decodeMutex; | 149 Mutex m_decodeMutex; |
| 151 | 150 |
| 152 // Protect concurrent access to m_hasAlpha. | 151 // Protect concurrent access to m_hasAlpha. |
| 153 Mutex m_alphaMutex; | 152 Mutex m_alphaMutex; |
| 154 }; | 153 }; |
| 155 | 154 |
| 156 } // namespace blink | 155 } // namespace blink |
| 157 | 156 |
| 158 #endif | 157 #endif |
| OLD | NEW |