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

Unified Diff: bench/HairlinePathBench.cpp

Issue 172103007: Fix bench to compile when SK_SUPPORTS_GPU is not provided as a compiler option (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 6 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/HairlinePathBench.cpp
diff --git a/bench/HairlinePathBench.cpp b/bench/HairlinePathBench.cpp
index 16edcc7c17acaaaaed4b7fa41f334e7f2eb54fd7..11faff57f84f6bae89624e1bd23febe9f68e6de8 100644
--- a/bench/HairlinePathBench.cpp
+++ b/bench/HairlinePathBench.cpp
@@ -5,10 +5,6 @@
* found in the LICENSE file.
*/
-#if SK_SUPPORT_GPU
-#include "GrTest.h"
-#include "GrDrawTargetCaps.h"
-#endif
#include "SkBenchmark.h"
#include "SkCanvas.h"
#include "SkPaint.h"
@@ -16,6 +12,11 @@
#include "SkShader.h"
#include "SkString.h"
+#if SK_SUPPORT_GPU
+#include "GrTest.h"
+#include "GrDrawTargetCaps.h"
+#endif
+
enum Flags {
kBig_Flag = 1 << 0,
kAA_Flag = 1 << 1
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698