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

Unified Diff: content/browser/web_contents/web_contents_view_child_frame.cc

Issue 2691393002: Fix auto raw pointer deduction on linux (Closed)
Patch Set: rebase Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/browser/websockets/websocket_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/web_contents/web_contents_view_child_frame.cc
diff --git a/content/browser/web_contents/web_contents_view_child_frame.cc b/content/browser/web_contents/web_contents_view_child_frame.cc
index 60b0f56bb27a8ba34457c43e8d6cd1f717e8aa33..74a587a9c09b9ec5796553c0e3fa490a5ea24100 100644
--- a/content/browser/web_contents/web_contents_view_child_frame.cc
+++ b/content/browser/web_contents/web_contents_view_child_frame.cc
@@ -152,7 +152,7 @@ DropData* WebContentsViewChildFrame::GetDropData() const {
}
void WebContentsViewChildFrame::UpdateDragCursor(WebDragOperation operation) {
- if (auto view = GetOuterDelegateView())
+ if (auto* view = GetOuterDelegateView())
view->UpdateDragCursor(operation);
}
@@ -187,7 +187,7 @@ void WebContentsViewChildFrame::StartDragging(
const gfx::Vector2d& image_offset,
const DragEventSourceInfo& event_info,
RenderWidgetHostImpl* source_rwh) {
- if (auto view = GetOuterDelegateView()) {
+ if (auto* view = GetOuterDelegateView()) {
view->StartDragging(
drop_data, ops, image, image_offset, event_info, source_rwh);
} else {
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/browser/websockets/websocket_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698