Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1521)

Unified Diff: webkit/appcache/appcache_response.cc

Issue 14307012: webkit: Remove use of ALLOW_THIS_IN_INITIALIZER_LIST. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/appcache/appcache_quota_client_unittest.cc ('k') | webkit/appcache/appcache_service_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/appcache/appcache_response.cc
diff --git a/webkit/appcache/appcache_response.cc b/webkit/appcache/appcache_response.cc
index 30ae5cdef6664f4bea3eccad4ca95d10b001dd7f..e134acbd249ff6cc16d15a6ddcc7afa77f451ddc 100644
--- a/webkit/appcache/appcache_response.cc
+++ b/webkit/appcache/appcache_response.cc
@@ -82,7 +82,7 @@ AppCacheResponseIO::AppCacheResponseIO(
disk_cache_(disk_cache),
entry_(NULL),
buffer_len_(0),
- ALLOW_THIS_IN_INITIALIZER_LIST(weak_factory_(this)) {
+ weak_factory_(this) {
}
AppCacheResponseIO::~AppCacheResponseIO() {
@@ -142,7 +142,7 @@ AppCacheResponseReader::AppCacheResponseReader(
range_offset_(0),
range_length_(kint32max),
read_position_(0),
- ALLOW_THIS_IN_INITIALIZER_LIST(weak_factory_(this)) {
+ weak_factory_(this) {
}
AppCacheResponseReader::~AppCacheResponseReader() {
@@ -286,7 +286,7 @@ AppCacheResponseWriter::AppCacheResponseWriter(
write_position_(0),
write_amount_(0),
creation_phase_(INITIAL_ATTEMPT),
- ALLOW_THIS_IN_INITIALIZER_LIST(weak_factory_(this)) {
+ weak_factory_(this) {
}
AppCacheResponseWriter::~AppCacheResponseWriter() {
« no previous file with comments | « webkit/appcache/appcache_quota_client_unittest.cc ('k') | webkit/appcache/appcache_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698