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

Side by Side Diff: content/renderer/accessibility/renderer_accessibility.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/renderer/accessibility/renderer_accessibility.h" 5 #include "content/renderer/accessibility/renderer_accessibility.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <queue> 10 #include <queue>
(...skipping 590 matching lines...) Expand 10 before | Expand all | Expand 10 after
601 if (obj.isDetached()) { 601 if (obj.isDetached()) {
602 #ifndef NDEBUG 602 #ifndef NDEBUG
603 LOG(WARNING) << "ShowContextMenu on invalid object id " << acc_obj_id; 603 LOG(WARNING) << "ShowContextMenu on invalid object id " << acc_obj_id;
604 #endif 604 #endif
605 return; 605 return;
606 } 606 }
607 607
608 obj.showContextMenu(); 608 obj.showContextMenu();
609 } 609 }
610 610
611 void RendererAccessibility::OnDestruct() {
612 delete this;
613 }
614
611 } // namespace content 615 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/accessibility/renderer_accessibility.h ('k') | content/renderer/android/renderer_date_time_picker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698