| Index: src/profile-generator.cc
|
| diff --git a/src/profile-generator.cc b/src/profile-generator.cc
|
| index 46e7aabcdbe5ad470490df3c340e2ea6e226aa11..b809aabb92957c4c3987e0f37806f9b07f05e714 100644
|
| --- a/src/profile-generator.cc
|
| +++ b/src/profile-generator.cc
|
| @@ -327,7 +327,7 @@ bool CpuProfilesCollection::StartProfiling(String* title, unsigned uid) {
|
|
|
|
|
| CpuProfile* CpuProfilesCollection::StopProfiling(const char* title) {
|
| - const int title_len = strlen(title);
|
| + const int title_len = StrLength(title);
|
| CpuProfile* profile = NULL;
|
| current_profiles_semaphore_->Wait();
|
| for (int i = current_profiles_.length() - 1; i >= 0; --i) {
|
|
|