diff options
author | Luqman Aden <laden@csclub.uwaterloo.ca> | 2014-06-10 05:10:08 -0400 |
---|---|---|
committer | Luqman Aden <laden@csclub.uwaterloo.ca> | 2014-06-10 13:00:03 -0400 |
commit | 841a6bf6475107bcf5ce39a8fd9e90de3965dce1 (patch) | |
tree | b0172c740e26c0213c52c45176442321c0254ca2 /src/components/msg/platform/android/surface.rs | |
parent | 4b5fd956bda51e10e4a42e1b9640f1c541b393da (diff) | |
download | servo-841a6bf6475107bcf5ce39a8fd9e90de3965dce1.tar.gz servo-841a6bf6475107bcf5ce39a8fd9e90de3965dce1.zip |
Update submodules and ~str/String, to_owned/to_string, & cast/mem to get android building.
Diffstat (limited to 'src/components/msg/platform/android/surface.rs')
-rw-r--r-- | src/components/msg/platform/android/surface.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/msg/platform/android/surface.rs b/src/components/msg/platform/android/surface.rs index 04719ffdc39..6f2e962d804 100644 --- a/src/components/msg/platform/android/surface.rs +++ b/src/components/msg/platform/android/surface.rs @@ -8,12 +8,12 @@ use platform::surface::NativeSurfaceAzureMethods; use azure::AzSkiaGrGLSharedSurfaceRef; use layers::platform::surface::NativeSurface; -use std::cast; +use std::mem; impl NativeSurfaceAzureMethods for NativeSurface { fn from_azure_surface(surface: AzSkiaGrGLSharedSurfaceRef) -> NativeSurface { unsafe { - NativeSurface::from_image_khr(cast::transmute(surface)) + NativeSurface::from_image_khr(mem::transmute(surface)) } } } |