@@ -530,8 +530,8 @@ export class TimelinePanel extends UI.Panel.Panel implements Client, TimelineMod
530530
531531 this . traceLoadStart = null ;
532532
533- this . disableCaptureJSProfileSetting =
534- Common . Settings . Settings . instance ( ) . createSetting ( 'timeline-disable-js-sampling' , false ) ;
533+ this . disableCaptureJSProfileSetting = Common . Settings . Settings . instance ( ) . createSetting (
534+ 'timeline-disable-js-sampling' , false , Common . Settings . SettingStorageType . SESSION ) ;
535535 this . disableCaptureJSProfileSetting . setTitle ( i18nString ( UIStrings . disableJavascriptSamples ) ) ;
536536 this . captureLayersAndPicturesSetting = Common . Settings . Settings . instance ( ) . createSetting (
537537 'timeline-capture-layers-and-pictures' , false , Common . Settings . SettingStorageType . SESSION ) ;
@@ -545,12 +545,13 @@ export class TimelinePanel extends UI.Panel.Panel implements Client, TimelineMod
545545 this . showScreenshotsSetting . setTitle ( i18nString ( UIStrings . screenshots ) ) ;
546546 this . showScreenshotsSetting . addChangeListener ( this . updateMiniMap , this ) ;
547547
548- this . showMemorySetting = Common . Settings . Settings . instance ( ) . createSetting ( 'timeline-show-memory' , false ) ;
548+ this . showMemorySetting = Common . Settings . Settings . instance ( ) . createSetting (
549+ 'timeline-show-memory' , false , Common . Settings . SettingStorageType . SESSION ) ;
549550 this . showMemorySetting . setTitle ( i18nString ( UIStrings . memory ) ) ;
550551 this . showMemorySetting . addChangeListener ( this . onMemoryModeChanged , this ) ;
551552
552- this . #dimThirdPartiesSetting =
553- Common . Settings . Settings . instance ( ) . createSetting ( 'timeline-dim-third-parties' , false ) ;
553+ this . #dimThirdPartiesSetting = Common . Settings . Settings . instance ( ) . createSetting (
554+ 'timeline-dim-third-parties' , false , Common . Settings . SettingStorageType . SESSION ) ;
554555 this . #dimThirdPartiesSetting. setTitle ( i18nString ( UIStrings . dimThirdParties ) ) ;
555556 this . #dimThirdPartiesSetting. addChangeListener ( this . onDimThirdPartiesChanged , this ) ;
556557
0 commit comments