Chromium Code Reviews| Index: content/public/test/frame_load_waiter.cc |
| diff --git a/content/public/test/frame_load_waiter.cc b/content/public/test/frame_load_waiter.cc |
| index 65b7f93c224041e1f8868f7b0b18b1419525a88b..5dd5bb8e150177491a6967faf39f27bed73b8bf4 100644 |
| --- a/content/public/test/frame_load_waiter.cc |
| +++ b/content/public/test/frame_load_waiter.cc |
| @@ -26,4 +26,8 @@ void FrameLoadWaiter::DidFinishLoad() { |
| run_loop_.QuitClosure()); |
| } |
| +void FrameLoadWaiter::OnDestruct() { |
| + delete this; |
| +} |
| + |
| } // namespace content |