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

Unified Diff: content/renderer/manifest/manifest_parser.h

Issue 803063003: Fix crash when passing temporary variable as document/manifest URL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 | content/renderer/manifest/manifest_parser_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/manifest/manifest_parser.h
diff --git a/content/renderer/manifest/manifest_parser.h b/content/renderer/manifest/manifest_parser.h
index 94b7e025db8321eb99191548c7f98338147f2eaa..13e330b0ddbb18ca0cc78dcc98199d027f290015 100644
--- a/content/renderer/manifest/manifest_parser.h
+++ b/content/renderer/manifest/manifest_parser.h
@@ -136,8 +136,8 @@ class CONTENT_EXPORT ManifestParser {
bool ParseGCMUserVisibleOnly(const base::DictionaryValue& dictionary);
const base::StringPiece& data_;
- const GURL& manifest_url_;
- const GURL& document_url_;
+ GURL manifest_url_;
+ GURL document_url_;
bool failed_;
Manifest manifest_;
« no previous file with comments | « no previous file | content/renderer/manifest/manifest_parser_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698