aboutsummaryrefslogtreecommitdiffstats
path: root/components/script
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2019-09-10 14:37:51 -0400
committerJosh Matthews <josh@joshmatthews.net>2019-09-11 11:40:04 -0400
commit1cefae71817924e375626802c5e639fe80f66c66 (patch)
tree2e9d3c47fd724204501560f61f9b4a25eb6cefa4 /components/script
parentec1da1d01c0f48544084d9cba4398b592c58e1fe (diff)
downloadservo-1cefae71817924e375626802c5e639fe80f66c66.tar.gz
servo-1cefae71817924e375626802c5e639fe80f66c66.zip
Replace use of gleam in webgl with sparkle.
Diffstat (limited to 'components/script')
-rw-r--r--components/script/Cargo.toml2
-rw-r--r--components/script/dom/webgl_extensions/extensions.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/components/script/Cargo.toml b/components/script/Cargo.toml
index 225daef5e04..957f45ad9bd 100644
--- a/components/script/Cargo.toml
+++ b/components/script/Cargo.toml
@@ -52,7 +52,6 @@ encoding_rs = "0.8"
enum-iterator = "0.2.0"
euclid = "0.20"
fnv = "1.0"
-gleam = "0.6"
headers = "0.2"
html5ever = "0.23"
http = "0.1"
@@ -100,6 +99,7 @@ servo_geometry = {path = "../geometry" }
servo-media = {git = "https://github.com/servo/media"}
servo_rand = {path = "../rand"}
servo_url = {path = "../url"}
+sparkle = "0.1"
smallvec = { version = "0.6", features = ["std", "union"] }
style = {path = "../style", features = ["servo"]}
style_traits = {path = "../style_traits"}
diff --git a/components/script/dom/webgl_extensions/extensions.rs b/components/script/dom/webgl_extensions/extensions.rs
index 7beb3081374..fa502ca26cd 100644
--- a/components/script/dom/webgl_extensions/extensions.rs
+++ b/components/script/dom/webgl_extensions/extensions.rs
@@ -20,9 +20,9 @@ use crate::dom::webglrenderingcontext::WebGLRenderingContext;
use crate::dom::webgltexture::TexCompression;
use canvas_traits::webgl::{GlType, WebGLVersion};
use fnv::{FnvHashMap, FnvHashSet};
-use gleam::gl::{self, GLenum};
use js::jsapi::JSObject;
use malloc_size_of::MallocSizeOf;
+use sparkle::gl::{self, GLenum};
use std::collections::HashMap;
use std::iter::FromIterator;
use std::ptr::NonNull;