| 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 ImageBitmapRenderingContext_h | 5 #ifndef ImageBitmapRenderingContext_h |
| 6 #define ImageBitmapRenderingContext_h | 6 #define ImageBitmapRenderingContext_h |
| 7 | 7 |
| 8 #include "core/html/canvas/CanvasRenderingContext.h" | 8 #include "core/html/canvas/CanvasRenderingContext.h" |
| 9 #include "core/html/canvas/CanvasRenderingContextFactory.h" | 9 #include "core/html/canvas/CanvasRenderingContextFactory.h" |
| 10 #include "modules/ModulesExport.h" | 10 #include "modules/ModulesExport.h" |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 }; | 74 }; |
| 75 | 75 |
| 76 DEFINE_TYPE_CASTS(ImageBitmapRenderingContext, | 76 DEFINE_TYPE_CASTS(ImageBitmapRenderingContext, |
| 77 CanvasRenderingContext, | 77 CanvasRenderingContext, |
| 78 context, | 78 context, |
| 79 context->GetContextType() == | 79 context->GetContextType() == |
| 80 CanvasRenderingContext::kContextImageBitmap, | 80 CanvasRenderingContext::kContextImageBitmap, |
| 81 context.GetContextType() == | 81 context.GetContextType() == |
| 82 CanvasRenderingContext::kContextImageBitmap); | 82 CanvasRenderingContext::kContextImageBitmap); |
| 83 | 83 |
| 84 } // blink | 84 } // namespace blink |
| 85 | 85 |
| 86 #endif | 86 #endif |
| OLD | NEW |