summaryrefslogtreecommitdiffstats
path: root/webkit/appcache/appcache_disk_cache.h
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-21 07:17:41 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-21 07:17:41 +0000
commit2f312ab5f419b77456eba5e0362af3adaf94f6ad (patch)
treede5260b704b376e0c602d3ba5364072217c29732 /webkit/appcache/appcache_disk_cache.h
parent10821128cb8b272856d1df04fdf102f1dda1b3f2 (diff)
downloadchromium_src-2f312ab5f419b77456eba5e0362af3adaf94f6ad.zip
chromium_src-2f312ab5f419b77456eba5e0362af3adaf94f6ad.tar.gz
chromium_src-2f312ab5f419b77456eba5e0362af3adaf94f6ad.tar.bz2
Enable -Werror on Linux and Win for src/webkit/
BUG=21140 Review URL: http://codereview.chromium.org/1749001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45157 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache/appcache_disk_cache.h')
-rw-r--r--webkit/appcache/appcache_disk_cache.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/webkit/appcache/appcache_disk_cache.h b/webkit/appcache/appcache_disk_cache.h
index cc54fd9..c295067 100644
--- a/webkit/appcache/appcache_disk_cache.h
+++ b/webkit/appcache/appcache_disk_cache.h
@@ -81,7 +81,9 @@ class AppCacheDiskCache {
};
typedef std::vector<PendingCall> PendingCalls;
- bool is_initializing() const { return create_backend_callback_.get(); }
+ bool is_initializing() const {
+ return create_backend_callback_.get() != NULL;
+ }
int Init(net::CacheType cache_type, const FilePath& directory,
int cache_size, bool force, net::CompletionCallback* callback);
void OnCreateBackendComplete(int rv);