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

Unified Diff: content/browser/web_contents/render_view_host_manager_unittest.cc

Issue 14985014: Introduce content::PageState (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compilation issues. Created 7 years, 7 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
Index: content/browser/web_contents/render_view_host_manager_unittest.cc
diff --git a/content/browser/web_contents/render_view_host_manager_unittest.cc b/content/browser/web_contents/render_view_host_manager_unittest.cc
index c4fd94a163f46c7b63ddb8c5946cf29e1ea26f0a..f9a1db8e3f03055e8095c6fb3117289a13ae6038 100644
--- a/content/browser/web_contents/render_view_host_manager_unittest.cc
+++ b/content/browser/web_contents/render_view_host_manager_unittest.cc
@@ -26,7 +26,6 @@
#include "content/test/test_content_client.h"
#include "content/test/test_web_contents.h"
#include "testing/gtest/include/gtest/gtest.h"
-#include "webkit/glue/glue_serialize.h"
namespace content {
namespace {
@@ -725,7 +724,7 @@ TEST_F(RenderViewHostManagerTest, PageDoesBackAndReload) {
params.gesture = NavigationGestureAuto;
params.was_within_same_page = false;
params.is_post = false;
- params.content_state = webkit_glue::CreateHistoryStateForURL(GURL(kUrl2));
+ params.page_state = PageState::CreateFromURL(kUrl2);
contents()->DidNavigate(evil_rvh, params);
// That should have cancelled the pending RVH, and the evil RVH should be the

Powered by Google App Engine
This is Rietveld 408576698