diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2023-05-17 16:59:24 +0000 |
---|---|---|
committer | Martin Robinson <mrobinson@igalia.com> | 2023-11-24 08:57:14 +0100 |
commit | b92440ef7c38a453ef76dba53ecd9ef90c4676af (patch) | |
tree | 26ae8182faa8a987da226501d9e56ca190b7146f /components/style/stylesheets | |
parent | 7a2b444a6043bb82f83886b66be85d2255bba44e (diff) | |
download | servo-b92440ef7c38a453ef76dba53ecd9ef90c4676af.tar.gz servo-b92440ef7c38a453ef76dba53ecd9ef90c4676af.zip |
style: Disable NSCAP_FEATURE_USE_BASE
This is a relatively small code size regression (130k on windows and
macOS, 180k on Linux), for a few high confidence improvements in
speedometer 3. See link in the bug.
If this sticks, we can actually clean up a bunch of code, and eventually
unify RefPtr and nsCOMPtr. But I want this to be on the tree for a while
before doing more aggressive refactorings / actually removing the code.
Differential Revision: https://phabricator.services.mozilla.com/D178267
Diffstat (limited to 'components/style/stylesheets')
-rw-r--r-- | components/style/stylesheets/mod.rs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/components/style/stylesheets/mod.rs b/components/style/stylesheets/mod.rs index 34c8403fc7d..d2d6252ac91 100644 --- a/components/style/stylesheets/mod.rs +++ b/components/style/stylesheets/mod.rs @@ -225,15 +225,11 @@ impl fmt::Debug for UrlExtraData { .field("chrome_rules_enabled", &self.chrome_rules_enabled()) .field( "base", - &DebugURI(self.as_ref().mBaseURI.raw::<structs::nsIURI>()), + &DebugURI(self.as_ref().mBaseURI.raw()), ) .field( "referrer", - &DebugReferrerInfo( - self.as_ref() - .mReferrerInfo - .raw::<structs::nsIReferrerInfo>(), - ), + &DebugReferrerInfo(self.as_ref().mReferrerInfo.raw()), ) .finish() } |