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

Unified Diff: content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc

Issue 105553005: Make PepperWebPlugin not use RenderViews. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 7 years 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/renderer_host/pepper/browser_ppapi_host_impl.cc
===================================================================
--- content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc (revision 242033)
+++ content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc (working copy)
@@ -84,19 +84,19 @@
return instance_map_.find(instance) != instance_map_.end();
}
-bool BrowserPpapiHostImpl::GetRenderViewIDsForInstance(
+bool BrowserPpapiHostImpl::GetRenderFrameIDsForInstance(
PP_Instance instance,
int* render_process_id,
- int* render_view_id) const {
+ int* render_frame_id) const {
InstanceMap::const_iterator found = instance_map_.find(instance);
if (found == instance_map_.end()) {
*render_process_id = 0;
- *render_view_id = 0;
+ *render_frame_id = 0;
return false;
}
*render_process_id = found->second.render_process_id;
- *render_view_id = found->second.render_view_id;
+ *render_frame_id = found->second.render_frame_id;
return true;
}
@@ -202,7 +202,7 @@
int i = 0;
while (instance != instance_map_.end()) {
instance_data[i].render_process_id = instance->second.render_process_id;
- instance_data[i].render_view_id = instance->second.render_view_id;
+ instance_data[i].render_frame_id = instance->second.render_frame_id;
instance_data[i].document_url = instance->second.document_url;
++instance;
++i;

Powered by Google App Engine
This is Rietveld 408576698