Index: webkit/appcache/view_appcache_internals_job.cc |
diff --git a/webkit/appcache/view_appcache_internals_job.cc b/webkit/appcache/view_appcache_internals_job.cc |
index db1fa54b14d09ba615da71a9eb1cd227ab3c53f0..3c043ba1a866c55673ec17fd4eda11954ee2007d 100644 |
--- a/webkit/appcache/view_appcache_internals_job.cc |
+++ b/webkit/appcache/view_appcache_internals_job.cc |
@@ -312,6 +312,7 @@ class BaseInternalsJob : public net::URLRequestSimpleJob { |
protected: |
BaseInternalsJob(net::URLRequest* request, AppCacheService* service) |
: URLRequestSimpleJob(request), appcache_service_(service) {} |
+ virtual ~BaseInternalsJob() {} |
AppCacheService* appcache_service_; |
}; |
@@ -394,6 +395,9 @@ class RedirectToMainPageJob : public BaseInternalsJob { |
*http_status_code = 307; |
return true; |
} |
+ |
+ protected: |
+ virtual ~RedirectToMainPageJob() {} |
}; |
// Job that removes an appcache and then redirects back to the main page. |