cbcd7f1683033568cf682681d9e687455a1949fe
hiram
  Thu Sep 2 11:17:04 2010 -0700
update hChromSize call to use database
diff --git src/hg/hgTracks/oneTrack.c src/hg/hgTracks/oneTrack.c
index 28605f6..8826046 100644
--- src/hg/hgTracks/oneTrack.c
+++ src/hg/hgTracks/oneTrack.c
@@ -30,7 +30,7 @@
 winBaseCount = winEnd - winStart;
 basesPerPixel = ((float)winBaseCount) / ((float)insideWidth);
 zoomedToCdsColorLevel = (winBaseCount <= insideWidth*3);
-seqBaseCount = hChromSize(chromName);
+seqBaseCount = hChromSize(database, chromName);
 initTl();
 zoomedToBaseLevel = (winBaseCount <= insideWidth / tl.mWidth);
 zoomedToCodonLevel = (ceil(winBaseCount/3) * tl.mWidth) <= insideWidth;