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

Unified Diff: chrome/browser/web_resource/web_resource_service.cc

Issue 8392001: Fix crasher due to const-ref to non-existing variable (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed const-ness Created 9 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/web_resource/web_resource_service.cc
diff --git a/chrome/browser/web_resource/web_resource_service.cc b/chrome/browser/web_resource/web_resource_service.cc
index f9f1d34f28a79af346c11a1e29354badc56a89cc..d9a9f8cd748c9a7d18f831cae231737808e33801 100644
--- a/chrome/browser/web_resource/web_resource_service.cc
+++ b/chrome/browser/web_resource/web_resource_service.cc
@@ -146,7 +146,7 @@ class WebResourceService::UnpackerClient : public UtilityProcessHost::Client {
}
private:
- ~UnpackerClient() {}
+ virtual ~UnpackerClient() {}
// UtilityProcessHost::Client
virtual bool OnMessageReceived(const IPC::Message& message) {
@@ -201,7 +201,7 @@ class WebResourceService::UnpackerClient : public UtilityProcessHost::Client {
scoped_refptr<WebResourceService> web_resource_service_;
// Holds raw JSON string.
- const std::string& json_data_;
+ std::string json_data_;
// True if we got a response from the utility process and have cleaned up
// already.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698