resourceloader: Wrap another CSSMin::remap call in MemoizedCallable::call

Follows-up da3443bfa2.

Change-Id: Iabfe65b918ef5f8eb589bedd7a1e72b3ad9d2952
This commit is contained in:
Ori Livneh 2015-10-20 13:13:57 -07:00 committed by Krinkle
parent adbfc6eac5
commit 32705d44cf

View file

@ -214,7 +214,8 @@ class ResourceLoaderWikiModule extends ResourceLoaderModule {
if ( $this->getFlip( $context ) ) {
$style = CSSJanus::transform( $style, true, false );
}
$style = CSSMin::remap( $style, false, $this->getConfig()->get( 'ScriptPath' ), true );
$style = MemoizedCallable::call( 'CSSMin::remap',
array( $style, false, $this->getConfig()->get( 'ScriptPath' ), true ) );
if ( !isset( $styles[$media] ) ) {
$styles[$media] = array();
}