Index: content/browser/renderer_host/render_widget_host_view_aura.cc |
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc |
index 9d6b2e2e662ce5287583e907cba01822f41e097e..ff6ee6a01b05941ef17270ce9b1ed888e172e610 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc |
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc |
@@ -1280,9 +1280,8 @@ void RenderWidgetHostViewAura::ShowDisambiguationPopup( |
disambiguation_target_rect_, |
zoomed_size, |
base::Bind(&RenderWidgetHostViewAura::DisambiguationPopupRendered, |
- base::internal::SupportsWeakPtrBase::StaticAsWeakPtr |
- <RenderWidgetHostViewAura>(this)), |
- kN32_SkColorType); |
+ weak_ptr_factory_.GetWeakPtr()), |
+ kN32_SkColorType); |
} |
void RenderWidgetHostViewAura::DisambiguationPopupRendered( |
@@ -1308,11 +1307,9 @@ void RenderWidgetHostViewAura::DisambiguationPopupRendered( |
disambiguation_target_rect_, |
result, |
base::Bind(&RenderWidgetHostViewAura::ProcessDisambiguationGesture, |
- base::internal::SupportsWeakPtrBase::StaticAsWeakPtr |
- <RenderWidgetHostViewAura>(this)), |
+ weak_ptr_factory_.GetWeakPtr()), |
base::Bind(&RenderWidgetHostViewAura::ProcessDisambiguationMouse, |
- base::internal::SupportsWeakPtrBase::StaticAsWeakPtr |
- <RenderWidgetHostViewAura>(this))); |
+ weak_ptr_factory_.GetWeakPtr())); |
} |
} |