| Index: dart/runtime/vm/profiler_test.cc
 | 
| ===================================================================
 | 
| --- dart/runtime/vm/profiler_test.cc	(revision 31530)
 | 
| +++ dart/runtime/vm/profiler_test.cc	(working copy)
 | 
| @@ -18,8 +18,8 @@
 | 
|                                 const SampleBuffer& sample_buffer) {
 | 
|      intptr_t c = 0;
 | 
|      for (intptr_t i = 0; i < sample_buffer.capacity(); i++) {
 | 
| -      Sample* sample = sample_buffer.GetSample(i);
 | 
| -      if (sample->isolate != isolate) {
 | 
| +      Sample sample = sample_buffer.GetSample(i);
 | 
| +      if (sample.isolate != isolate) {
 | 
|          continue;
 | 
|        }
 | 
|        c++;
 | 
| @@ -32,11 +32,11 @@
 | 
|                                 const SampleBuffer& sample_buffer) {
 | 
|      intptr_t c = 0;
 | 
|      for (intptr_t i = 0; i < sample_buffer.capacity(); i++) {
 | 
| -      Sample* sample = sample_buffer.GetSample(i);
 | 
| -      if (sample->isolate != isolate) {
 | 
| +      Sample sample = sample_buffer.GetSample(i);
 | 
| +      if (sample.isolate != isolate) {
 | 
|          continue;
 | 
|        }
 | 
| -      c += sample->pcs[0];
 | 
| +      c += sample.pcs[0];
 | 
|      }
 | 
|      return c;
 | 
|    }
 | 
| 
 |