| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef AcceleratedStaticBitmapImage_h | 5 #ifndef AcceleratedStaticBitmapImage_h |
| 6 #define AcceleratedStaticBitmapImage_h | 6 #define AcceleratedStaticBitmapImage_h |
| 7 | 7 |
| 8 #include "base/threading/thread_checker.h" | 8 #include "base/threading/thread_checker.h" |
| 9 #include "platform/graphics/StaticBitmapImage.h" | 9 #include "platform/graphics/StaticBitmapImage.h" |
| 10 #include "platform/graphics/TextureHolder.h" | 10 #include "platform/graphics/TextureHolder.h" |
| 11 #include "wtf/WeakPtr.h" | 11 #include "platform/wtf/WeakPtr.h" |
| 12 | 12 |
| 13 #include <memory> | 13 #include <memory> |
| 14 | 14 |
| 15 class GrContext; | 15 class GrContext; |
| 16 | 16 |
| 17 namespace blink { | 17 namespace blink { |
| 18 class WebGraphicsContext3DProviderWrapper; | 18 class WebGraphicsContext3DProviderWrapper; |
| 19 class TextureHolder; | 19 class TextureHolder; |
| 20 | 20 |
| 21 class PLATFORM_EXPORT AcceleratedStaticBitmapImage final | 21 class PLATFORM_EXPORT AcceleratedStaticBitmapImage final |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 | 78 |
| 79 std::unique_ptr<TextureHolder> m_textureHolder; | 79 std::unique_ptr<TextureHolder> m_textureHolder; |
| 80 | 80 |
| 81 base::ThreadChecker m_threadChecker; | 81 base::ThreadChecker m_threadChecker; |
| 82 bool m_detachThreadAtNextCheck = false; | 82 bool m_detachThreadAtNextCheck = false; |
| 83 }; | 83 }; |
| 84 | 84 |
| 85 } // namespace blink | 85 } // namespace blink |
| 86 | 86 |
| 87 #endif | 87 #endif |
| OLD | NEW |