summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-06 17:39:36 +0000
committerjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-06 17:39:36 +0000
commitfded3d68adda86e5056d4b7a038bc66f3f6492b1 (patch)
treeedf18a32dfcf5d6c9846af52db40b4b10b49e08b /chrome/common
parent6a02963e645852d8ce70b53aa6199ec1780f31c2 (diff)
downloadchromium_src-fded3d68adda86e5056d4b7a038bc66f3f6492b1.zip
chromium_src-fded3d68adda86e5056d4b7a038bc66f3f6492b1.tar.gz
chromium_src-fded3d68adda86e5056d4b7a038bc66f3f6492b1.tar.bz2
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
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/page_transition_types.h3
1 files changed, 1 insertions, 2 deletions
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>(type));
- return (t >= 0 && t <= LAST_CORE &&
- (type & ~(QUALIFIER_MASK | CORE_MASK)) == 0);
+ return (t >= 0 && t <= LAST_CORE);
}
static Type FromInt(int32 type) {