Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Side by Side Diff: content/shell/renderer/layout_test/blink_test_runner.cc

Issue 2034153002: Makes RenderFrameObserver/RenderViewObserver::OnDestruct pure virtual. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 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 "content/shell/renderer/layout_test/blink_test_runner.h" 5 #include "content/shell/renderer/layout_test/blink_test_runner.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <clocale> 10 #include <clocale>
(...skipping 1002 matching lines...) Expand 10 before | Expand all | Expand 10 after
1013 get_bluetooth_events_callbacks_.front(); 1013 get_bluetooth_events_callbacks_.front();
1014 get_bluetooth_events_callbacks_.pop_front(); 1014 get_bluetooth_events_callbacks_.pop_front();
1015 callback.Run(events); 1015 callback.Run(events);
1016 } 1016 }
1017 1017
1018 void BlinkTestRunner::ReportLeakDetectionResult( 1018 void BlinkTestRunner::ReportLeakDetectionResult(
1019 const LeakDetectionResult& report) { 1019 const LeakDetectionResult& report) {
1020 Send(new ShellViewHostMsg_LeakDetectionDone(routing_id(), report)); 1020 Send(new ShellViewHostMsg_LeakDetectionDone(routing_id(), report));
1021 } 1021 }
1022 1022
1023 void BlinkTestRunner::OnDestruct() {
1024 delete this;
1025 }
1026
1023 } // namespace content 1027 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698