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)
This commit is contained in:
Hanif Bin Ariffin 2019-10-21 05:24:49 -04:00
parent 08af89bd82
commit 31ff2d43cc
4 changed files with 1702 additions and 1633 deletions

View file

@ -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;