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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/Path.h

Issue 2640163004: Replace ENABLE(ASSERT) with DCHECK_IS_ON(). (Closed)
Patch Set: Created 3 years, 11 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) 2003, 2006, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2006, 2009 Apple Inc. All rights reserved.
3 * 2006 Rob Buis <buis@kde.org> 3 * 2006 Rob Buis <buis@kde.org>
4 * Copyright (C) 2007-2008 Torch Mobile, Inc. 4 * Copyright (C) 2007-2008 Torch Mobile, Inc.
5 * Copyright (C) 2013 Google Inc. All rights reserved. 5 * Copyright (C) 2013 Google Inc. All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 float radiusX, 195 float radiusX,
196 float radiusY, 196 float radiusY,
197 float startAngle, 197 float startAngle,
198 float endAngle, 198 float endAngle,
199 bool anticlockwise); 199 bool anticlockwise);
200 SkPath strokePath(const StrokeData&) const; 200 SkPath strokePath(const StrokeData&) const;
201 201
202 SkPath m_path; 202 SkPath m_path;
203 }; 203 };
204 204
205 #if ENABLE(ASSERT) 205 #if DCHECK_IS_ON()
206 PLATFORM_EXPORT bool ellipseIsRenderable(float startAngle, float endAngle); 206 PLATFORM_EXPORT bool ellipseIsRenderable(float startAngle, float endAngle);
207 #endif 207 #endif
208 208
209 } // namespace blink 209 } // namespace blink
210 210
211 #endif 211 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698