a513cccc30dd0697dc78935f51a636e52a0793f0
hiram
  Mon Mar 23 16:36:04 2026 -0700
manage gcOnFly track regarding sessions refs #35958

diff --git src/hg/hgTracks/hgTracks.h src/hg/hgTracks/hgTracks.h
index f50387672d3..881cebf90c1 100644
--- src/hg/hgTracks/hgTracks.h
+++ src/hg/hgTracks/hgTracks.h
@@ -1202,33 +1202,34 @@
 /* Return linked features from range of table with the scores scaled appropriately */
 
 void ctWigLoadItems(struct track *tg);
 /*	load custom wiggle track data	*/
 void wigLoadItems(struct track *tg);
 /*	load wiggle track data from database	*/
 void wigMethods(struct track *track, struct trackDb *tdb,
                                 int wordCount, char *words[]);
 /* Set up wig pointers and do some other precalculations on a wig type track. */
 void bedGraphMethods(struct track *track, struct trackDb *tdb,
 	int wordCount, char *words[]);
 void bigWigMethods(struct track *track, struct trackDb *tdb,
 	int wordCount, char *words[]);
 /* Make track group for wig - wiggle tracks. */
 
-struct track *gc5BaseOnTheFlyTg(struct cart *cart);
+struct track *gc5BaseOnTheFlyTg(struct cart *cart, char *sessionVis);
 /* Create an on-the-fly GC percent track computed directly from
- *     from genome sequence.
+ *     from genome sequence.  sessionVis is the visibility string
+ *     from a restored session cart, or NULL for default visibility.
  */
 
 void mathWigMethods(struct track *track, struct trackDb *tdb, 
 	int wordCount, char *words[]);
 /* mathWig load and draw methods. */
 
 void bigRmskMethods(struct track *track, struct trackDb *tdb,
                                 int wordCount, char *words[]);
 /* Set up bigRmsk methods. */
 
 void commonBigBedMethods(struct track *track, struct trackDb *tdb,
                                 int wordCount, char *words[]);
 /* Set up common bigBed methods used by several track types that depend on the bigBed format. */
 
 void bigBedMethods(struct track *track, struct trackDb *tdb,