diff options
Diffstat (limited to 'chrome/browser/window_sizer.cc')
-rw-r--r-- | chrome/browser/window_sizer.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/window_sizer.cc b/chrome/browser/window_sizer.cc index c6083a7..596a7c8 100644 --- a/chrome/browser/window_sizer.cc +++ b/chrome/browser/window_sizer.cc @@ -115,6 +115,9 @@ class DefaultStateProvider : public WindowSizer::StateProvider { key.append(app_name_); } + if (!g_browser_process->local_state()) + return false; + const DictionaryValue* wp_pref = g_browser_process->local_state()->GetDictionary(key.c_str()); int top = 0, left = 0, bottom = 0, right = 0; |