Index: cc/util.h |
diff --git a/cc/util.h b/cc/util.h |
index 6da3a697c4ac3396602903d7ac75d85fad4e7abd..22987044a56550c2a614a34aadd74c2a4c950c5a 100644 |
--- a/cc/util.h |
+++ b/cc/util.h |
@@ -5,6 +5,8 @@ |
#ifndef CC_UTIL_H_ |
#define CC_UTIL_H_ |
+#include "base/command_line.h" |
+ |
namespace cc { |
template<typename T> |
@@ -13,6 +15,9 @@ T RoundUp(T n, T mul) |
return ((n + mul - 1) / mul) * mul; |
} |
+// Returns whether or not impl-side painting is enabled. |
+bool IsImplSidePaintingEnabled(const CommandLine* cl); |
danakj
2013/02/05 02:23:57
Please don't read command line flags from in cc/.
|
+ |
} // namespace cc |
#endif // CC_UTIL_H_ |