mirror of
https://github.com/servo/servo.git
synced 2025-08-28 08:38:20 +01:00
Remove empty lines following braces.
This commit is contained in:
parent
4ebc065cba
commit
3cb8af20c2
69 changed files with 3 additions and 162 deletions
|
@ -20,7 +20,6 @@ use util::thread_state;
|
|||
use util::workqueue::WorkQueue;
|
||||
|
||||
pub struct PerDocumentStyleData {
|
||||
|
||||
/// Rule processor.
|
||||
pub stylist: Arc<Stylist>,
|
||||
|
||||
|
|
|
@ -140,7 +140,6 @@ pub extern "C" fn Servo_StylesheetFromUTF8Bytes(bytes: *const u8,
|
|||
referrer: *mut ThreadSafeURIHolder,
|
||||
principal: *mut ThreadSafePrincipalHolder)
|
||||
-> *mut RawServoStyleSheet {
|
||||
|
||||
let input = unsafe { from_utf8_unchecked(slice::from_raw_parts(bytes, length as usize)) };
|
||||
|
||||
let origin = match mode {
|
||||
|
|
|
@ -785,7 +785,6 @@ impl WindowMethods for Window {
|
|||
|
||||
/// Helper function to handle keyboard events.
|
||||
fn handle_key(&self, key: Key, mods: constellation_msg::KeyModifiers) {
|
||||
|
||||
match (mods, key) {
|
||||
(_, Key::Equal) => {
|
||||
if mods & !SHIFT == CMD_OR_CONTROL {
|
||||
|
|
|
@ -796,11 +796,9 @@ impl WindowMethods for Window {
|
|||
}
|
||||
|
||||
fn set_inner_size(&self, _: Size2D<u32>) {
|
||||
|
||||
}
|
||||
|
||||
fn set_position(&self, _: Point2D<i32>) {
|
||||
|
||||
}
|
||||
|
||||
/// Presents the window to the screen (perhaps by page flipping).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue