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

Unified Diff: components/nacl/loader/nacl_validation_query.cc

Issue 572973002: NaCl: Simpler validation for main nexe. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 6 years, 1 month 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: components/nacl/loader/nacl_validation_query.cc
diff --git a/components/nacl/loader/nacl_validation_query.cc b/components/nacl/loader/nacl_validation_query.cc
index ecedbcaa9f49681a39618741cfea0e238b4d40c5..0a3582e9dd9147e6c57bef23582b39c32d9dd683 100644
--- a/components/nacl/loader/nacl_validation_query.cc
+++ b/components/nacl/loader/nacl_validation_query.cc
@@ -35,7 +35,9 @@ bool NaClValidationQueryContext::ResolveFileToken(
struct NaClFileToken* file_token,
int32* fd,
std::string* path) {
- return db_->ResolveFileToken(file_token, fd, path);
+ // This should no longer be used.
+ CHECK(false);
+ return false;
}
NaClValidationQuery::NaClValidationQuery(NaClValidationDB* db,
« no previous file with comments | « components/nacl/loader/nacl_validation_db.h ('k') | components/nacl/loader/nacl_validation_query_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698