servo: Merge #19585 - remove unused `self` in canvas_paint_thread (from tigercosmos:b1); r=KiChjang
authortigercosmos <phy.tiger@gmail.com>
Sun, 17 Dec 2017 02:47:09 -0600
changeset 448399 9d5863c947f9fa0a3dd6b2a890172152a6cbebff
parent 448398 bacb75596acb612fdd7383607f7e9033bc21b8e7
child 448400 e1d9d7b0ac15977706d17821c542f274fd2e026f
push id8527
push userCallek@gmail.com
push dateThu, 11 Jan 2018 21:05:50 +0000
treeherdermozilla-beta@95342d212a7a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersKiChjang
milestone59.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
servo: Merge #19585 - remove unused `self` in canvas_paint_thread (from tigercosmos:b1); r=KiChjang <!-- Please describe your changes on the following line: --> ``` Compiling canvas v0.0.1 (file:///Users/tigercosmos/servo/components/canvas) warning: unused import: `self` --> components/canvas/canvas_paint_thread.rs:14:24 | 14 | use ipc_channel::ipc::{self, IpcSender, IpcReceiver}; | ^^^^ | = note: #[warn(unused_imports)] on by default ``` --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: f8c09abece5c4952d786ae843900b0135468f7c5
servo/components/canvas/canvas_paint_thread.rs
--- a/servo/components/canvas/canvas_paint_thread.rs
+++ b/servo/components/canvas/canvas_paint_thread.rs
@@ -6,17 +6,17 @@ use azure::azure::AzFloat;
 use azure::azure_hl::{AntialiasMode, CapStyle, CompositionOp, JoinStyle};
 use azure::azure_hl::{BackendType, DrawOptions, DrawTarget, Pattern, StrokeOptions, SurfaceFormat};
 use azure::azure_hl::{Color, ColorPattern, DrawSurfaceOptions, Filter, PathBuilder};
 use azure::azure_hl::{ExtendMode, GradientStop, LinearGradientPattern, RadialGradientPattern};
 use azure::azure_hl::SurfacePattern;
 use canvas_traits::canvas::*;
 use cssparser::RGBA;
 use euclid::{Transform2D, Point2D, Vector2D, Rect, Size2D};
-use ipc_channel::ipc::{self, IpcSender, IpcReceiver};
+use ipc_channel::ipc::{IpcSender, IpcReceiver};
 use num_traits::ToPrimitive;
 use std::borrow::ToOwned;
 use std::mem;
 use std::sync::Arc;
 use std::thread;
 use webrender_api;
 
 impl<'a> CanvasPaintThread<'a> {