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 34c909ce1a8e5418a4bda6ef42c94ba438286a16..f9f29a16cb8e51129625f388db5e08af9c5cf230 100644 |
--- a/content/browser/browser_plugin/browser_plugin_guest.cc |
+++ b/content/browser/browser_plugin/browser_plugin_guest.cc |
@@ -780,7 +780,7 @@ void BrowserPluginGuest::OnWillAttachComplete( |
RenderWidgetHostViewGuest* rwhv = static_cast<RenderWidgetHostViewGuest*>( |
web_contents()->GetRenderWidgetHostView()); |
if (rwhv) |
- rwhv->RegisterSurfaceNamespaceId(); |
+ rwhv->RegisterFrameSinkId(); |
has_render_view_ = true; |
RecordAction(base::UserMetricsAction("BrowserPlugin.Guest.Attached")); |
@@ -799,7 +799,7 @@ void BrowserPluginGuest::OnDetach(int browser_plugin_instance_id) { |
web_contents()->GetRenderWidgetHostView()); |
// If the guest is terminated, our host may already be gone. |
if (rwhv) |
- rwhv->UnregisterSurfaceNamespaceId(); |
+ rwhv->UnregisterFrameSinkId(); |
delegate_->DidDetach(); |
} |