From fded3d68adda86e5056d4b7a038bc66f3f6492b1 Mon Sep 17 00:00:00 2001 From: "jeremy@chromium.org" Date: Tue, 6 Jan 2009 17:39:36 +0000 Subject: Turn on GetVisibleVisitsInRange test on POSIX. Review URL: http://codereview.chromium.org/16524 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7590 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/common/page_transition_types.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'chrome/common') diff --git a/chrome/common/page_transition_types.h b/chrome/common/page_transition_types.h index d44bb28..2d30199 100644 --- a/chrome/common/page_transition_types.h +++ b/chrome/common/page_transition_types.h @@ -115,8 +115,7 @@ class PageTransition { static bool ValidType(int32 type) { int32 t = StripQualifier(static_cast(type)); - return (t >= 0 && t <= LAST_CORE && - (type & ~(QUALIFIER_MASK | CORE_MASK)) == 0); + return (t >= 0 && t <= LAST_CORE); } static Type FromInt(int32 type) { -- cgit v1.1