bug 1277959 - cleanup Interfaces enum r=davidb
authorTrevor Saunders <tbsaunde@tbsaunde.org>
Fri, 03 Jun 2016 16:42:51 -0400
changeset 341513 2c6965cd08de95b84e5f836ebb9f203fc902cfa6
parent 341512 3c5f1c93108cff3b22bb7817fabbe7434f9ec12f
child 341514 53de33ce847f9e5e9b77b6ed08027813a325f95f
push id1183
push userraliiev@mozilla.com
push dateMon, 05 Sep 2016 20:01:49 +0000
treeherdermozilla-release@3148731bed45 [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