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

Unified Diff: runtime/vm/cpuinfo_android.cc

Issue 1677043003: 1. Fix memory leaks reported by running a simple test using ASAN (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: address-code-review Created 4 years, 10 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 | « runtime/vm/cpuinfo.h ('k') | runtime/vm/cpuinfo_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/cpuinfo_android.cc
diff --git a/runtime/vm/cpuinfo_android.cc b/runtime/vm/cpuinfo_android.cc
index e4e4826afcfeab6711a7a0d05bf98766452cd13e..1e4229ca5a0ed59ca812de6a398775839bea53ad 100644
--- a/runtime/vm/cpuinfo_android.cc
+++ b/runtime/vm/cpuinfo_android.cc
@@ -52,25 +52,12 @@ bool CpuInfo::FieldContains(CpuInfoIndices idx, const char* search_string) {
}
-bool CpuInfo::FieldContainsByString(const char* field,
- const char* search_string) {
- ASSERT(method_ != kCpuInfoDefault);
- return ProcCpuInfo::FieldContains(field, search_string);
-}
-
-
const char* CpuInfo::ExtractField(CpuInfoIndices idx) {
ASSERT(method_ != kCpuInfoDefault);
return ProcCpuInfo::ExtractField(FieldName(idx));
}
-const char* CpuInfo::ExtractFieldByString(const char* field) {
- ASSERT(method_ != kCpuInfoDefault);
- return ProcCpuInfo::ExtractField(field);
-}
-
-
bool CpuInfo::HasField(const char* field) {
ASSERT(method_ != kCpuInfoDefault);
return ProcCpuInfo::HasField(field);
« no previous file with comments | « runtime/vm/cpuinfo.h ('k') | runtime/vm/cpuinfo_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698