equal
deleted
inserted
replaced
100 |
100 |
101 CMemSpyViewBase* child = NULL; |
101 CMemSpyViewBase* child = NULL; |
102 const TInt index = iListBox->CurrentItemIndex(); |
102 const TInt index = iListBox->CurrentItemIndex(); |
103 // |
103 // |
104 if ( index == 0 ) |
104 if ( index == 0 ) |
105 { |
105 { |
106 //child = new(ELeave) CMemSpyViewKernelContainers( iEngine, iObserver ); |
|
107 child = new(ELeave) CMemSpyViewKernelContainers( iMemSpySession, iObserver ); |
106 child = new(ELeave) CMemSpyViewKernelContainers( iMemSpySession, iObserver ); |
108 } |
107 } |
109 else if ( index == 1 ) |
108 else if ( index == 1 ) |
110 { |
109 { |
111 //child = new(ELeave) CMemSpyViewKernelHeap( iEngine, iObserver ); |
|
112 child = new(ELeave) CMemSpyViewKernelHeap( iMemSpySession, iObserver ); |
110 child = new(ELeave) CMemSpyViewKernelHeap( iMemSpySession, iObserver ); |
113 } |
111 } |
114 |
112 |
115 CleanupStack::PushL( child ); |
113 CleanupStack::PushL( child ); |
116 child->ConstructL( Rect(), *Parent() ); |
114 child->ConstructL( Rect(), *Parent() ); |