| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/renderer_host/backing_store.h" | 5 #include "chrome/browser/renderer_host/backing_store.h" |
| 6 | 6 |
| 7 class RenderWidgetHost; | 7 class RenderWidgetHost; |
| 8 | 8 |
| 9 namespace { | 9 namespace { |
| 10 | 10 |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 if (it == cache->end()) | 99 if (it == cache->end()) |
| 100 return; | 100 return; |
| 101 | 101 |
| 102 cache->Erase(it); | 102 cache->Erase(it); |
| 103 | 103 |
| 104 if (cache->empty()) { | 104 if (cache->empty()) { |
| 105 delete cache; | 105 delete cache; |
| 106 cache = NULL; | 106 cache = NULL; |
| 107 } | 107 } |
| 108 } | 108 } |
| 109 | |
| OLD | NEW |