Index: content/test/test_web_contents.cc |
diff --git a/content/test/test_web_contents.cc b/content/test/test_web_contents.cc |
index e46182b1129cba441e9db23673f9be5bd8293a01..bdcc948b33189187fe92ab5cecef762633a5b1c2 100644 |
--- a/content/test/test_web_contents.cc |
+++ b/content/test/test_web_contents.cc |
@@ -15,10 +15,10 @@ |
#include "content/public/browser/notification_registrar.h" |
#include "content/public/browser/notification_source.h" |
#include "content/public/browser/notification_types.h" |
+#include "content/public/common/page_state.h" |
#include "content/public/common/page_transition_types.h" |
#include "content/public/common/password_form.h" |
#include "content/public/test/mock_render_process_host.h" |
-#include "webkit/glue/glue_serialize.h" |
namespace content { |
@@ -83,7 +83,7 @@ void TestWebContents::TestDidNavigateWithReferrer( |
params.gesture = NavigationGestureUser; |
params.was_within_same_page = false; |
params.is_post = false; |
- params.content_state = webkit_glue::CreateHistoryStateForURL(GURL(url)); |
+ params.page_state = PageState::CreateFromURL(url); |
DidNavigate(render_view_host, params); |
} |