bug 1277959 - cleanup Interfaces enum r=davidb
authorTrevor Saunders <tbsaunde@tbsaunde.org>
Fri, 03 Jun 2016 16:42:51 -0400
changeset 339500 2c6965cd08de95b84e5f836ebb9f203fc902cfa6
parent 339499 3c5f1c93108cff3b22bb7817fabbe7434f9ec12f
child 339501 53de33ce847f9e5e9b77b6ed08027813a325f95f
push id6249
push userjlund@mozilla.com
push dateMon, 01 Aug 2016 13:59:36 +0000
treeherdermozilla-beta@bad9d4f5bf7e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdavidb
bugs1277959
milestone49.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
bug 1277959 - cleanup Interfaces enum r=davidb
accessible/ipc/ProxyAccessible.h
--- a/accessible/ipc/ProxyAccessible.h
+++ b/accessible/ipc/ProxyAccessible.h
@@ -420,22 +420,22 @@ private:
   role mRole : 30;
   bool mOuterDoc : 1;
   const bool mIsDoc: 1;
 };
 
 enum Interfaces
 {
   HYPERTEXT = 1,
-  HYPERLINK = 2,
-  IMAGE = 4,
-  VALUE = 8,
-  TABLE = 16,
-  TABLECELL = 32,
-  DOCUMENT = 64,
-  SELECTION = 128,
-  ACTION = 256,
+  HYPERLINK = 1 << 1,
+  IMAGE = 1 << 2,
+  VALUE = 1 << 3,
+  TABLE = 1 << 4,
+  TABLECELL = 1 << 5,
+  DOCUMENT = 1 << 6,
+  SELECTION = 1 << 7,
+  ACTION = 1 << 8,
 };
 
 }
 }
 
 #endif