| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/renderer/visitedlink_slave.h" | 5 #include "chrome/renderer/visitedlink_slave.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/shared_memory.h" | 8 #include "base/shared_memory.h" |
| 9 #include "chrome/common/render_messages.h" | 9 #include "chrome/common/render_messages.h" |
| 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" | 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" |
| 11 | 11 |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 } | 80 } |
| 81 | 81 |
| 82 void VisitedLinkSlave::FreeTable() { | 82 void VisitedLinkSlave::FreeTable() { |
| 83 if (shared_memory_) { | 83 if (shared_memory_) { |
| 84 delete shared_memory_; | 84 delete shared_memory_; |
| 85 shared_memory_ = NULL; | 85 shared_memory_ = NULL; |
| 86 } | 86 } |
| 87 hash_table_ = NULL; | 87 hash_table_ = NULL; |
| 88 table_length_ = 0; | 88 table_length_ = 0; |
| 89 } | 89 } |
| OLD | NEW |