summaryrefslogtreecommitdiffstats
path: root/testing/gmock/src/gmock.cc
diff options
context:
space:
mode:
Diffstat (limited to 'testing/gmock/src/gmock.cc')
-rw-r--r--testing/gmock/src/gmock.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/gmock/src/gmock.cc b/testing/gmock/src/gmock.cc
index caafb01..f487265 100644
--- a/testing/gmock/src/gmock.cc
+++ b/testing/gmock/src/gmock.cc
@@ -63,7 +63,7 @@ static const char* ParseGoogleMockFlagValue(const char* str,
// The flag must start with "--gmock_".
const String flag_str = String::Format("--gmock_%s", flag);
- const size_t flag_len = flag_str.GetLength();
+ const size_t flag_len = flag_str.length();
if (strncmp(str, flag_str.c_str(), flag_len) != 0) return NULL;
// Skips the flag name.