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

Unified Diff: content/browser/browser_plugin/browser_plugin_guest.cc

Issue 2101943004: content: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase/update Created 4 years, 5 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
Index: content/browser/browser_plugin/browser_plugin_guest.cc
diff --git a/content/browser/browser_plugin/browser_plugin_guest.cc b/content/browser/browser_plugin/browser_plugin_guest.cc
index ceeaaa3d6b90ff861df6a592b0df611fa1827b88..d0a39e22c2d7afa3dcd1fddb5d72c12c4b03d299 100644
--- a/content/browser/browser_plugin/browser_plugin_guest.cc
+++ b/content/browser/browser_plugin/browser_plugin_guest.cc
@@ -332,7 +332,7 @@ void BrowserPluginGuest::InitInternal(
DCHECK(GetWebContents()->GetRenderViewHost());
// Initialize the device scale factor by calling |NotifyScreenInfoChanged|.
- auto render_widget_host = RenderWidgetHostImpl::From(
+ auto* render_widget_host = RenderWidgetHostImpl::From(
GetWebContents()->GetRenderViewHost()->GetWidget());
render_widget_host->NotifyScreenInfoChanged();
@@ -803,7 +803,7 @@ void BrowserPluginGuest::OnDragStatusUpdate(int browser_plugin_instance_id,
blink::WebDragOperationsMask mask,
const gfx::Point& location) {
RenderViewHost* host = GetWebContents()->GetRenderViewHost();
- auto embedder = owner_web_contents_->GetBrowserPluginEmbedder();
+ auto* embedder = owner_web_contents_->GetBrowserPluginEmbedder();
DropData filtered_data(drop_data);
host->FilterDropData(&filtered_data);
switch (drag_status) {

Powered by Google App Engine
This is Rietveld 408576698