diff options
author | weili <weili@chromium.org> | 2016-06-07 11:28:31 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-06-07 11:28:31 -0700 |
commit | 98963398054a20287cf6b354932ef56ddb4da48c (patch) | |
tree | b9a009dc12f7535e7fc798ee7e416e651272d863 /fpdfsdk/javascript/JS_GlobalData.h | |
parent | 4997b22f84307521a62838f874928bf56cd3423c (diff) | |
download | pdfium-98963398054a20287cf6b354932ef56ddb4da48c.tar.xz |
Fix more code which has shadow variables
The code has local variables that shadow struct or class member
variables. Also, when this happens, different variable names should be
used instead of namespaces.
These were discovered by /Wshadow warning flag in Clang.
Review-Url: https://codereview.chromium.org/2034253003
Diffstat (limited to 'fpdfsdk/javascript/JS_GlobalData.h')
-rw-r--r-- | fpdfsdk/javascript/JS_GlobalData.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/javascript/JS_GlobalData.h b/fpdfsdk/javascript/JS_GlobalData.h index 056f26193f..d9f4f0989b 100644 --- a/fpdfsdk/javascript/JS_GlobalData.h +++ b/fpdfsdk/javascript/JS_GlobalData.h @@ -34,7 +34,7 @@ class CJS_GlobalVariableArray { void Empty(); private: - CFX_ArrayTemplate<CJS_KeyValue*> array; + CFX_ArrayTemplate<CJS_KeyValue*> m_Array; }; class CJS_KeyValue { |