aboutsummaryrefslogtreecommitdiffstats
path: root/components/devtools_traits
diff options
context:
space:
mode:
authorGecko Backout <gecko-backout@mozilla.org>2017-10-19 21:26:51 +0000
committermoz-servo-sync <developer-services+moz-servo-sync@mozilla.org>2017-10-19 21:26:51 +0000
commit11c64178d86979e8d50f11cff66c2b0e8fe666c1 (patch)
tree083c71bdf8216ca56d38d509e5b2988eb18da5ca /components/devtools_traits
parentfe16c1d5c3c9084da0ccb85af599d6ec0f8ab20b (diff)
downloadservo-11c64178d86979e8d50f11cff66c2b0e8fe666c1.tar.gz
servo-11c64178d86979e8d50f11cff66c2b0e8fe666c1.zip
Backed out changeset e64e659c077d: servo PR #18809 and revendor for reftest failures, e.g. in layout/reftests/bugs/392435-1.html. r=backout on a CLOSED TREE
Backs out https://github.com/servo/servo/pull/18809
Diffstat (limited to 'components/devtools_traits')
-rw-r--r--components/devtools_traits/Cargo.toml2
-rw-r--r--components/devtools_traits/lib.rs6
2 files changed, 4 insertions, 4 deletions
diff --git a/components/devtools_traits/Cargo.toml b/components/devtools_traits/Cargo.toml
index eda5c8725c0..f722002daa8 100644
--- a/components/devtools_traits/Cargo.toml
+++ b/components/devtools_traits/Cargo.toml
@@ -10,7 +10,7 @@ name = "devtools_traits"
path = "lib.rs"
[dependencies]
-bitflags = "1.0"
+bitflags = "0.7"
hyper = "0.10"
hyper_serde = "0.7"
ipc-channel = "0.9"
diff --git a/components/devtools_traits/lib.rs b/components/devtools_traits/lib.rs
index fe0f91c7e52..1195ef8a987 100644
--- a/components/devtools_traits/lib.rs
+++ b/components/devtools_traits/lib.rs
@@ -243,9 +243,9 @@ pub struct ConsoleMessage {
bitflags! {
#[derive(Deserialize, Serialize)]
- pub struct CachedConsoleMessageTypes: u8 {
- const PAGE_ERROR = 1 << 0;
- const CONSOLE_API = 1 << 1;
+ pub flags CachedConsoleMessageTypes: u8 {
+ const PAGE_ERROR = 1 << 0,
+ const CONSOLE_API = 1 << 1,
}
}