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

Unified Diff: ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.cc

Issue 290993006: Pepper: Remove Quota management from TempFile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix nits Created 6 years, 7 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 | « no previous file | ppapi/native_client/src/trusted/plugin/service_runtime.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.cc
diff --git a/ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.cc b/ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.cc
index bfc443cafef6add9b3cab48f8b404435d9f3dc32..eb3a6018a99ff8f4ac217c65f27d5a0c1ceb1ebc 100644
--- a/ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.cc
+++ b/ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.cc
@@ -186,12 +186,6 @@ void PnaclTranslateThread::DoTranslate() {
"NaCl.Perf.PNaClLoadTime.LoadCompiler",
NaClGetTimeOfDayMicroseconds() - llc_start_time),
PP_OK);
- // Run LLC.
- PluginReverseInterface* llc_reverse =
- llc_subprocess_->service_runtime()->rev_interface();
- for (size_t i = 0; i < obj_files_->size(); i++) {
- llc_reverse->AddTempQuotaManagedFile((*obj_files_)[i]->identifier());
- }
}
int64_t compile_start_time = NaClGetTimeOfDayMicroseconds();
@@ -362,9 +356,6 @@ bool PnaclTranslateThread::RunLdSubprocess() {
"NaCl.Perf.PNaClLoadTime.LoadLinker",
NaClGetTimeOfDayMicroseconds() - ld_start_time),
PP_OK);
- PluginReverseInterface* ld_reverse =
- ld_subprocess_->service_runtime()->rev_interface();
- ld_reverse->AddTempQuotaManagedFile(nexe_file_->identifier());
}
int64_t link_start_time = NaClGetTimeOfDayMicroseconds();
« no previous file with comments | « no previous file | ppapi/native_client/src/trusted/plugin/service_runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698