OSDN Git Service
(root)
/
android-x86
/
external-webkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f07202a
)
Fix a code ugliness issue: avoid using two variables named "size" inside the same...
author
Andrei Popescu
<andreip@google.com>
Fri, 8 Jan 2010 16:55:35 +0000
(16:55 +0000)
committer
Andrei Popescu
<andreip@google.com>
Fri, 8 Jan 2010 16:55:35 +0000
(16:55 +0000)
WebKit/android/jni/WebStorage.cpp
patch
|
blob
|
history
diff --git
a/WebKit/android/jni/WebStorage.cpp
b/WebKit/android/jni/WebStorage.cpp
index
f175fd3
..
07e4880
100644
(file)
--- a/
WebKit/android/jni/WebStorage.cpp
+++ b/
WebKit/android/jni/WebStorage.cpp
@@
-93,9
+93,9
@@
static unsigned long long GetUsageForOrigin(JNIEnv* env, jobject obj, jstring or
if (manifestOrigin.get() == 0)
continue;
if (manifestOrigin->isSameSchemeHostPort(securityOrigin.get())) {
- int64_t
s
ize = 0;
- WebCore::cacheStorage().cacheGroupSize(manifestUrls[i].string(), &
s
ize);
- usage +=
s
ize;
+ int64_t
cacheS
ize = 0;
+ WebCore::cacheStorage().cacheGroupSize(manifestUrls[i].string(), &
cacheS
ize);
+ usage +=
cacheS
ize;
}
}
return usage;