var num_lines = 0;
for (var i = 0; i < proxy.calls__.length; i++) {
var call = proxy.calls__[i];
+
+ // note: Don't simplify these two conditionals into one. The
+ // separation simplifies debugging tricky tests.
if (call.name == "lineTo") {
if (call.properties.strokeStyle == color) {
num_lines++;