mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Backed out changeset 077ce85c466b for failing devtools webconsole/test/browser_webconsole_bug_595934_message_categories.js on Windows 7 debug without e10s. r=backout on a CLOSED TREE
Backs out https://github.com/servo/servo/pull/19374
This commit is contained in:
parent
9651a5572e
commit
8679bafa93
2 changed files with 2 additions and 8 deletions
|
@ -1574,7 +1574,7 @@ extern "C" {
|
|||
} extern "C" {
|
||||
pub fn Servo_IsValidCSSColor ( value : * const nsAString , ) -> bool ;
|
||||
} extern "C" {
|
||||
pub fn Servo_ComputeColor ( set : RawServoStyleSetBorrowedOrNull , current_color : nscolor , value : * const nsAString , result_color : * mut nscolor , was_current_color : * mut bool , ) -> bool ;
|
||||
pub fn Servo_ComputeColor ( set : RawServoStyleSetBorrowedOrNull , current_color : nscolor , value : * const nsAString , result_color : * mut nscolor , ) -> bool ;
|
||||
} extern "C" {
|
||||
pub fn Servo_ParseIntersectionObserverRootMargin ( value : * const nsAString , result : * mut nsCSSRect , ) -> bool ;
|
||||
} extern "C" {
|
||||
|
|
|
@ -4559,7 +4559,6 @@ pub extern "C" fn Servo_ComputeColor(
|
|||
current_color: structs::nscolor,
|
||||
value: *const nsAString,
|
||||
result_color: *mut structs::nscolor,
|
||||
was_current_color: *mut bool,
|
||||
) -> bool {
|
||||
use style::gecko;
|
||||
|
||||
|
@ -4594,11 +4593,6 @@ pub extern "C" fn Servo_ComputeColor(
|
|||
Some(computed_color) => {
|
||||
let rgba = computed_color.to_rgba(current_color);
|
||||
*result_color = gecko::values::convert_rgba_to_nscolor(&rgba);
|
||||
if !was_current_color.is_null() {
|
||||
unsafe {
|
||||
*was_current_color = computed_color.is_currentcolor();
|
||||
}
|
||||
}
|
||||
true
|
||||
}
|
||||
None => false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue