Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(634)

Side by Side Diff: third_party/WebKit/Source/core/svg/SVGPathBuilder.cpp

Issue 2748223002: Replace ASSERT_NOT_REACHED with NOTREACHED in core/svg/ (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2002, 2003 The Karbon Developers 2 * Copyright (C) 2002, 2003 The Karbon Developers
3 * Copyright (C) 2006 Alexander Kellett <lypanov@kde.org> 3 * Copyright (C) 2006 Alexander Kellett <lypanov@kde.org>
4 * Copyright (C) 2006, 2007 Rob Buis <buis@kde.org> 4 * Copyright (C) 2006, 2007 Rob Buis <buis@kde.org>
5 * Copyright (C) 2007, 2009 Apple Inc. All rights reserved. 5 * Copyright (C) 2007, 2009 Apple Inc. All rights reserved.
6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 emitArcTo(segment.targetPoint, toFloatSize(segment.arcRadii()), 165 emitArcTo(segment.targetPoint, toFloatSize(segment.arcRadii()),
166 segment.arcAngle(), segment.largeArcFlag(), 166 segment.arcAngle(), segment.largeArcFlag(),
167 segment.sweepFlag()); 167 segment.sweepFlag());
168 break; 168 break;
169 case PathSegArcRel: 169 case PathSegArcRel:
170 emitArcTo(m_currentPoint + segment.targetPoint, 170 emitArcTo(m_currentPoint + segment.targetPoint,
171 toFloatSize(segment.arcRadii()), segment.arcAngle(), 171 toFloatSize(segment.arcRadii()), segment.arcAngle(),
172 segment.largeArcFlag(), segment.sweepFlag()); 172 segment.largeArcFlag(), segment.sweepFlag());
173 break; 173 break;
174 default: 174 default:
175 ASSERT_NOT_REACHED(); 175 NOTREACHED();
176 } 176 }
177 177
178 m_lastCommand = segment.command; 178 m_lastCommand = segment.command;
179 } 179 }
180 180
181 } // namespace blink 181 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGPathBlender.cpp ('k') | third_party/WebKit/Source/core/svg/SVGPathByteStreamBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698