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

Unified Diff: components/nacl/renderer/ppb_nacl_private_impl.cc

Issue 367153004: Pepper: Remove program_url in trusted plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | « components/nacl/renderer/nexe_load_manager.cc ('k') | ppapi/api/private/ppb_nacl_private.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/renderer/ppb_nacl_private_impl.cc
diff --git a/components/nacl/renderer/ppb_nacl_private_impl.cc b/components/nacl/renderer/ppb_nacl_private_impl.cc
index eeaca7858d87190996e24170b142e64cd8842fa0..048130aea5346020ad58e8ac1c52ce4fe6b86efb 100644
--- a/components/nacl/renderer/ppb_nacl_private_impl.cc
+++ b/components/nacl/renderer/ppb_nacl_private_impl.cc
@@ -744,12 +744,14 @@ void DispatchEvent(PP_Instance instance,
}
void ReportLoadSuccess(PP_Instance instance,
- const char* url,
uint64_t loaded_bytes,
uint64_t total_bytes) {
NexeLoadManager* load_manager = GetNexeLoadManager(instance);
- if (load_manager)
- load_manager->ReportLoadSuccess(url, loaded_bytes, total_bytes);
+ if (load_manager) {
+ load_manager->ReportLoadSuccess(load_manager->program_url(),
+ loaded_bytes,
+ total_bytes);
+ }
}
void ReportLoadError(PP_Instance instance,
« no previous file with comments | « components/nacl/renderer/nexe_load_manager.cc ('k') | ppapi/api/private/ppb_nacl_private.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698