OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2009, 2010, 2011, 2012 Apple Inc. All rights reserv
ed. | 2 * Copyright (C) 2006, 2007, 2009, 2010, 2011, 2012 Apple Inc. All rights |
| 3 * reserved. |
3 * | 4 * |
4 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
6 * are met: | 7 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 11 * notice, this list of conditions and the following disclaimer in the |
11 * documentation and/or other materials provided with the distribution. | 12 * documentation and/or other materials provided with the distribution. |
12 * | 13 * |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 | 257 |
257 DEFINE_TYPE_CASTS(CanvasRenderingContext2D, | 258 DEFINE_TYPE_CASTS(CanvasRenderingContext2D, |
258 CanvasRenderingContext, | 259 CanvasRenderingContext, |
259 context, | 260 context, |
260 context->is2d() && context->canvas(), | 261 context->is2d() && context->canvas(), |
261 context.is2d() && context.canvas()); | 262 context.is2d() && context.canvas()); |
262 | 263 |
263 } // namespace blink | 264 } // namespace blink |
264 | 265 |
265 #endif // CanvasRenderingContext2D_h | 266 #endif // CanvasRenderingContext2D_h |
OLD | NEW |