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

Side by Side Diff: third_party/WebKit/Source/core/style/ShapeValue.h

Issue 2522043003: Replace ASSERT_NOT_REACHED -> NOTREACHED (Closed)
Patch Set: Created 4 years 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) 2012 Adobe Systems Incorporated. All rights reserved. 2 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above 8 * 1. Redistributions of source code must retain the above
9 * copyright notice, this list of conditions and the following 9 * copyright notice, this list of conditions and the following
10 * disclaimer. 10 * disclaimer.
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 switch (type()) { 104 switch (type()) {
105 case Shape: 105 case Shape:
106 return dataEquivalent(shape(), other.shape()) && 106 return dataEquivalent(shape(), other.shape()) &&
107 cssBox() == other.cssBox(); 107 cssBox() == other.cssBox();
108 case Box: 108 case Box:
109 return cssBox() == other.cssBox(); 109 return cssBox() == other.cssBox();
110 case Image: 110 case Image:
111 return dataEquivalent(image(), other.image()); 111 return dataEquivalent(image(), other.image());
112 } 112 }
113 113
114 ASSERT_NOT_REACHED(); 114 NOTREACHED();
115 return false; 115 return false;
116 } 116 }
117 117
118 } // namespace blink 118 } // namespace blink
119 119
120 #endif 120 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutText.h ('k') | third_party/WebKit/Source/core/svg/SVGAngle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698