| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. | 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. |
| 3 * All rights reserved. | 3 * All rights reserved. |
| 4 * Copyright (C) 2008, 2010 Nokia Corporation and/or its subsidiary(-ies) | 4 * Copyright (C) 2008, 2010 Nokia Corporation and/or its subsidiary(-ies) |
| 5 * Copyright (C) 2007 Alp Toker <alp@atoker.com> | 5 * Copyright (C) 2007 Alp Toker <alp@atoker.com> |
| 6 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> | 6 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> |
| 7 * Copyright (C) 2008 Dirk Schulze <krit@webkit.org> | 7 * Copyright (C) 2008 Dirk Schulze <krit@webkit.org> |
| 8 * Copyright (C) 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserved. | 8 * Copyright (C) 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserved. |
| 9 * Copyright (C) 2012, 2013 Intel Corporation. All rights reserved. | 9 * Copyright (C) 2012, 2013 Intel Corporation. All rights reserved. |
| 10 * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved. | 10 * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved. |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 this, | 122 this, |
| 123 &CanvasRenderingContext2D::dispatchContextLostEvent), | 123 &CanvasRenderingContext2D::dispatchContextLostEvent), |
| 124 m_dispatchContextRestoredEventTimer( | 124 m_dispatchContextRestoredEventTimer( |
| 125 this, | 125 this, |
| 126 &CanvasRenderingContext2D::dispatchContextRestoredEvent), | 126 &CanvasRenderingContext2D::dispatchContextRestoredEvent), |
| 127 m_tryRestoreContextEventTimer( | 127 m_tryRestoreContextEventTimer( |
| 128 this, | 128 this, |
| 129 &CanvasRenderingContext2D::tryRestoreContextEvent), | 129 &CanvasRenderingContext2D::tryRestoreContextEvent), |
| 130 m_pruneLocalFontCacheScheduled(false) { | 130 m_pruneLocalFontCacheScheduled(false) { |
| 131 if (document.settings() && | 131 if (document.settings() && |
| 132 document.settings()->antialiasedClips2dCanvasEnabled()) | 132 document.settings()->getAntialiasedClips2dCanvasEnabled()) |
| 133 m_clipAntialiasing = AntiAliased; | 133 m_clipAntialiasing = AntiAliased; |
| 134 setShouldAntialias(true); | 134 setShouldAntialias(true); |
| 135 validateStateStack(); | 135 validateStateStack(); |
| 136 } | 136 } |
| 137 | 137 |
| 138 void CanvasRenderingContext2D::setCanvasGetContextResult( | 138 void CanvasRenderingContext2D::setCanvasGetContextResult( |
| 139 RenderingContext& result) { | 139 RenderingContext& result) { |
| 140 result.setCanvasRenderingContext2D(this); | 140 result.setCanvasRenderingContext2D(this); |
| 141 } | 141 } |
| 142 | 142 |
| (...skipping 1016 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1159 } | 1159 } |
| 1160 return true; | 1160 return true; |
| 1161 } | 1161 } |
| 1162 | 1162 |
| 1163 void CanvasRenderingContext2D::resetUsageTracking() { | 1163 void CanvasRenderingContext2D::resetUsageTracking() { |
| 1164 UsageCounters newCounters; | 1164 UsageCounters newCounters; |
| 1165 m_usageCounters = newCounters; | 1165 m_usageCounters = newCounters; |
| 1166 } | 1166 } |
| 1167 | 1167 |
| 1168 } // namespace blink | 1168 } // namespace blink |
| OLD | NEW |