| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2009, 2010, 2011, 2012 Apple Inc. All rights | 2 * Copyright (C) 2006, 2007, 2009, 2010, 2011, 2012 Apple Inc. All rights |
| 3 * reserved. | 3 * reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 268 TaskRunnerTimer<CanvasRenderingContext2D> | 268 TaskRunnerTimer<CanvasRenderingContext2D> |
| 269 dispatch_context_restored_event_timer_; | 269 dispatch_context_restored_event_timer_; |
| 270 TaskRunnerTimer<CanvasRenderingContext2D> try_restore_context_event_timer_; | 270 TaskRunnerTimer<CanvasRenderingContext2D> try_restore_context_event_timer_; |
| 271 | 271 |
| 272 FilterOperations filter_operations_; | 272 FilterOperations filter_operations_; |
| 273 HashMap<String, Font> fonts_resolved_using_current_style_; | 273 HashMap<String, Font> fonts_resolved_using_current_style_; |
| 274 bool should_prune_local_font_cache_; | 274 bool should_prune_local_font_cache_; |
| 275 ListHashSet<String> font_lru_list_; | 275 ListHashSet<String> font_lru_list_; |
| 276 }; | 276 }; |
| 277 | 277 |
| 278 // TODO(fserb): remove this? | |
| 279 DEFINE_TYPE_CASTS(CanvasRenderingContext2D, | 278 DEFINE_TYPE_CASTS(CanvasRenderingContext2D, |
| 280 CanvasRenderingContext, | 279 CanvasRenderingContext, |
| 281 context, | 280 context, |
| 282 context->Is2d() && context->host(), | 281 context->Is2d() && context->host(), |
| 283 context.Is2d() && context.host()); | 282 context.Is2d() && context.host()); |
| 284 | 283 |
| 285 } // namespace blink | 284 } // namespace blink |
| 286 | 285 |
| 287 #endif // CanvasRenderingContext2D_h | 286 #endif // CanvasRenderingContext2D_h |
| OLD | NEW |