summaryrefslogtreecommitdiffstats
path: root/src/canon_perftest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/canon_perftest.cc')
-rw-r--r--src/canon_perftest.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/canon_perftest.cc b/src/canon_perftest.cc
index 6248937..59bd18f 100644
--- a/src/canon_perftest.cc
+++ b/src/canon_perftest.cc
@@ -16,6 +16,7 @@
#include <string.h>
#include "util.h"
+#include "metrics.h"
const char kPath[] =
"../../third_party/WebKit/Source/WebCore/"
@@ -26,7 +27,7 @@ int main() {
string err;
char buf[200];
- int len = strlen(kPath);
+ size_t len = strlen(kPath);
strcpy(buf, kPath);
for (int j = 0; j < 5; ++j) {