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

Unified Diff: content/test/test_render_frame_host.cc

Issue 2562993002: Disallow [in]equality operator for PageTransition (Closed)
Patch Set: Disallow [in]equality operator for PageTransition Created 4 years 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/test/test_render_frame_host.cc
diff --git a/content/test/test_render_frame_host.cc b/content/test/test_render_frame_host.cc
index 1a11e5a7071f3cf2ffbb9fa7b2c9395ff69a75dd..1bfcd374954cbd87a97384f25272d919a5cd26a4 100644
--- a/content/test/test_render_frame_host.cc
+++ b/content/test/test_render_frame_host.cc
@@ -336,7 +336,7 @@ void TestRenderFrameHost::SendNavigateWithParameters(
// When the user hits enter in the Omnibox without changing the URL, Blink
// behaves similarly to a reload and does not change the item and document
// sequence numbers. Simulate this behavior here too.
- if (transition == ui::PAGE_TRANSITION_TYPED) {
+ if (PageTransitionCoreTypeIs(transition, ui::PAGE_TRANSITION_TYPED)) {
const NavigationEntryImpl* entry =
static_cast<NavigationEntryImpl*>(frame_tree_node()
->navigator()
« no previous file with comments | « components/arc/intent_helper/page_transition_util_unittest.cc ('k') | ios/web/web_state/ui/crw_web_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698