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

Unified Diff: src/core/SkQuadClipper.cpp

Issue 26167002: Make skia almost compile again with clang. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/core/SkMatrix.cpp ('k') | src/core/SkRTree.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkQuadClipper.cpp
diff --git a/src/core/SkQuadClipper.cpp b/src/core/SkQuadClipper.cpp
index a67a23f939947a5aa077842f77f4dbdf7b4bca4e..fcde929ea7e544685a18a776f59e9f44b919e5ca 100644
--- a/src/core/SkQuadClipper.cpp
+++ b/src/core/SkQuadClipper.cpp
@@ -1,4 +1,3 @@
-
/*
* Copyright 2009 The Android Open Source Project
*
@@ -6,22 +5,9 @@
* found in the LICENSE file.
*/
-
#include "SkQuadClipper.h"
#include "SkGeometry.h"
-static inline void clamp_le(SkScalar& value, SkScalar max) {
- if (value > max) {
- value = max;
- }
-}
-
-static inline void clamp_ge(SkScalar& value, SkScalar min) {
- if (value < min) {
- value = min;
- }
-}
-
SkQuadClipper::SkQuadClipper() {
fClip.setEmpty();
}
« no previous file with comments | « src/core/SkMatrix.cpp ('k') | src/core/SkRTree.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698