aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/lib.rs
diff options
context:
space:
mode:
authorHanif Bin Ariffin <hanif.ariffin.4326@gmail.com>2019-10-21 05:24:49 -0400
committerHanif Bin Ariffin <hanif.ariffin.4326@gmail.com>2019-10-25 02:27:57 -0400
commit31ff2d43ccc835bffc99aac596dabae1d23cc5f7 (patch)
tree6b088758d3f921822c3888f8d5433dea56e74218 /components/script/lib.rs
parent08af89bd8205ac28c98b9a079216fca438a9ed66 (diff)
downloadservo-31ff2d43ccc835bffc99aac596dabae1d23cc5f7.tar.gz
servo-31ff2d43ccc835bffc99aac596dabae1d23cc5f7.zip
Moved CanvasState out of canvasrenderingcontext
Cleaned up imports... Applied clang-tidy Moved CanvasState and some other files Next commit should remove pub modifier from members of CanvasState and use getters/setters instead. Members of CanvasState are now private and applied test-tidy Now have getters that return an immutable reference. Also, I have no idea what to name some_func.rs Removed need for some_func and made pub(crate)
Diffstat (limited to 'components/script/lib.rs')
-rw-r--r--components/script/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/lib.rs b/components/script/lib.rs
index 773c4eba812..c87e705d1e9 100644
--- a/components/script/lib.rs
+++ b/components/script/lib.rs
@@ -55,6 +55,7 @@ mod devtools;
pub mod document_loader;
#[macro_use]
mod dom;
+mod canvas_state;
mod compartments;
pub mod fetch;
mod image_listener;