diff options
author | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-21 07:17:41 +0000 |
---|---|---|
committer | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-21 07:17:41 +0000 |
commit | 2f312ab5f419b77456eba5e0362af3adaf94f6ad (patch) | |
tree | de5260b704b376e0c602d3ba5364072217c29732 /webkit/appcache/appcache_disk_cache.h | |
parent | 10821128cb8b272856d1df04fdf102f1dda1b3f2 (diff) | |
download | chromium_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.h | 4 |
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); |