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

Side by Side Diff: third_party/WebKit/Source/core/svg/SVGPathByteStreamBuilder.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) Research In Motion Limited 2010. All rights reserved. 2 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 break; 105 break;
106 case PathSegArcRel: 106 case PathSegArcRel:
107 case PathSegArcAbs: 107 case PathSegArcAbs:
108 buffer.writeFloatPoint(segment.point1); 108 buffer.writeFloatPoint(segment.point1);
109 buffer.writeFloat(segment.point2.x()); 109 buffer.writeFloat(segment.point2.x());
110 buffer.writeFlag(segment.arcLarge); 110 buffer.writeFlag(segment.arcLarge);
111 buffer.writeFlag(segment.arcSweep); 111 buffer.writeFlag(segment.arcSweep);
112 buffer.writeFloatPoint(segment.targetPoint); 112 buffer.writeFloatPoint(segment.targetPoint);
113 break; 113 break;
114 default: 114 default:
115 ASSERT_NOT_REACHED(); 115 NOTREACHED();
116 } 116 }
117 } 117 }
118 118
119 } // namespace blink 119 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGPathBuilder.cpp ('k') | third_party/WebKit/Source/core/svg/SVGPathByteStreamSource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698