summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources
diff options
context:
space:
mode:
authoreroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-18 20:38:25 +0000
committereroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-18 20:38:25 +0000
commit80c6bf7235f9f6fcfbff12d2ec68e0e03d7c4926 (patch)
treed091abcfc4038cf4a8a243db232c44b49e46376f /chrome/browser/resources
parent012a805c860091b412cab5a4d899a16f95375472 (diff)
downloadchromium_src-80c6bf7235f9f6fcfbff12d2ec68e0e03d7c4926.zip
chromium_src-80c6bf7235f9f6fcfbff12d2ec68e0e03d7c4926.tar.gz
chromium_src-80c6bf7235f9f6fcfbff12d2ec68e0e03d7c4926.tar.bz2
Fix a typo.
The typo led to access of undefined javascript variable on chrome://net-internals when the load flags were 0. Review URL: http://codereview.chromium.org/2089015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47556 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/resources')
-rw-r--r--chrome/browser/resources/net_internals/logviewpainter.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/resources/net_internals/logviewpainter.js b/chrome/browser/resources/net_internals/logviewpainter.js
index ce5e8c6..b66d7c9 100644
--- a/chrome/browser/resources/net_internals/logviewpainter.js
+++ b/chrome/browser/resources/net_internals/logviewpainter.js
@@ -162,7 +162,7 @@ function getLoadFlagSymbolicString(loadFlag) {
// Load flag of 0 means "NORMAL". Special case this, since and-ing with
// 0 is always going to be false.
if (loadFlag == 0)
- return getKeyWithValue(LoadFlag, loadFlagNames);
+ return getKeyWithValue(LoadFlag, loadFlag);
var matchingLoadFlagNames = [];