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

Unified Diff: chrome/browser/page_state.cc

Issue 1120006: detect preferences errors (Closed)
Patch Set: changes from review Created 10 years, 9 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 | « chrome/browser/geolocation/network_location_request.cc ('k') | chrome/browser/pref_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/page_state.cc
diff --git a/chrome/browser/page_state.cc b/chrome/browser/page_state.cc
index 26b6dafc3f1f38712b87b7c2f0e38ce7226f5c8a..bf431ca48dc6087c4365a18a8707542a06ef3fd9 100644
--- a/chrome/browser/page_state.cc
+++ b/chrome/browser/page_state.cc
@@ -43,7 +43,7 @@ void PageState::InitWithBytes(const std::string& bytes) {
state_.reset(new DictionaryValue);
JSONStringValueSerializer serializer(bytes);
- scoped_ptr<Value> root(serializer.Deserialize(NULL));
+ scoped_ptr<Value> root(serializer.Deserialize(NULL, NULL));
if (!root.get()) {
NOTREACHED();
« no previous file with comments | « chrome/browser/geolocation/network_location_request.cc ('k') | chrome/browser/pref_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698