| 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 #include "modules/imagebitmap/ImageBitmapRenderingContext.h" | 5 #include "modules/imagebitmap/ImageBitmapRenderingContext.h" |
| 6 | 6 |
| 7 #include "bindings/modules/v8/RenderingContext.h" | 7 #include "bindings/modules/v8/RenderingContext.h" |
| 8 #include "core/frame/ImageBitmap.h" | 8 #include "core/frame/ImageBitmap.h" |
| 9 #include "platform/graphics/GraphicsContext.h" | 9 #include "platform/graphics/GraphicsContext.h" |
| 10 #include "platform/graphics/StaticBitmapImage.h" | 10 #include "platform/graphics/StaticBitmapImage.h" |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 | 73 |
| 74 DEFINE_TRACE(ImageBitmapRenderingContext) { | 74 DEFINE_TRACE(ImageBitmapRenderingContext) { |
| 75 visitor->Trace(image_layer_bridge_); | 75 visitor->Trace(image_layer_bridge_); |
| 76 CanvasRenderingContext::Trace(visitor); | 76 CanvasRenderingContext::Trace(visitor); |
| 77 } | 77 } |
| 78 | 78 |
| 79 bool ImageBitmapRenderingContext::IsAccelerated() const { | 79 bool ImageBitmapRenderingContext::IsAccelerated() const { |
| 80 return image_layer_bridge_->IsAccelerated(); | 80 return image_layer_bridge_->IsAccelerated(); |
| 81 } | 81 } |
| 82 | 82 |
| 83 } // blink | 83 } // namespace blink |
| OLD | NEW |