| Index: chrome/browser/sessions/session_restore.cc
|
| diff --git a/chrome/browser/sessions/session_restore.cc b/chrome/browser/sessions/session_restore.cc
|
| index 479338b25f3080a92932c733808bafb3b5b50aa0..940ccb626996b78eaab72d490a668ca77a6fb3c7 100644
|
| --- a/chrome/browser/sessions/session_restore.cc
|
| +++ b/chrome/browser/sessions/session_restore.cc
|
| @@ -49,7 +49,6 @@
|
| #include "content/public/browser/web_contents.h"
|
| #include "content/public/browser/web_contents_view.h"
|
| #include "net/base/network_change_notifier.h"
|
| -#include "webkit/glue/glue_serialize.h"
|
|
|
| #if defined(OS_CHROMEOS)
|
| #include "chrome/browser/chromeos/boot_times_loader.h"
|
| @@ -1040,10 +1039,10 @@ class SessionRestoreImpl : public content::NotificationObserver {
|
| base::PLATFORM_FILE_READ |
|
| base::PLATFORM_FILE_EXCLUSIVE_READ |
|
| base::PLATFORM_FILE_ASYNC;
|
| - const std::string& state =
|
| - tab.navigations.at(selected_index).content_state();
|
| + const content::PageState& page_state =
|
| + tab.navigations.at(selected_index).page_state();
|
| const std::vector<base::FilePath>& file_paths =
|
| - webkit_glue::FilePathsFromHistoryState(state);
|
| + page_state.GetReferencedFiles();
|
| for (std::vector<base::FilePath>::const_iterator file = file_paths.begin();
|
| file != file_paths.end(); ++file) {
|
| content::ChildProcessSecurityPolicy::GetInstance()->
|
|
|