mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 02:57:38 +00:00
Bug 1614198 - Remove trait bound and comment that snuck from a previous patch accidentally in a CLOSED TREE
MANUAL PUSH: Fixing accidental Lando-relanding of previous version of the patch.
This commit is contained in:
parent
d6aacafdfd
commit
52d630ef26
@ -71,8 +71,6 @@ impl Parse for ClippingShape {
|
||||
context: &ParserContext,
|
||||
input: &mut Parser<'i, 't>,
|
||||
) -> Result<Self, ParseError<'i>> {
|
||||
// Need to parse this here so that `Image::parse_with_cors_anonymous`
|
||||
// doesn't parse it.
|
||||
if input.try(|i| i.expect_ident_matching("none")).is_ok() {
|
||||
return Ok(ShapeSource::None);
|
||||
}
|
||||
@ -114,7 +112,7 @@ impl Parse for FloatAreaShape {
|
||||
|
||||
impl<ReferenceBox, ImageOrUrl> ShapeSource<BasicShape, ReferenceBox, ImageOrUrl>
|
||||
where
|
||||
ReferenceBox: Parse + Default,
|
||||
ReferenceBox: Parse,
|
||||
{
|
||||
/// The internal parser for ShapeSource.
|
||||
fn parse_common<'i, 't>(
|
||||
|
Loading…
Reference in New Issue
Block a user