Index: includes/common.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/common.inc,v
retrieving revision 1.1269
diff -u -p -r1.1269 common.inc
--- includes/common.inc	1 Dec 2010 00:23:36 -0000	1.1269
+++ includes/common.inc	6 Dec 2010 22:04:20 -0000
@@ -3514,7 +3514,7 @@ function drupal_load_stylesheet_content(
     // There are different conditions for removing leading and trailing
     // whitespace.
     // @see http://php.net/manual/en/regexp.reference.subpatterns.php
-    $contents = preg_replace_callback('<
+    $contents = preg_replace('<
       # Strip leading and trailing whitespace.
         \s*([@{};,])\s*
       # Strip only leading whitespace from:
@@ -3525,7 +3525,7 @@ function drupal_load_stylesheet_content(
       # - Colon: Retain :pseudo-selectors.
       | ([\(:])\s+
     >xS',
-      '_drupal_load_stylesheet_content',
+      '$1$2$3',
       $contents
     );
     // End the file with a new line.
@@ -3540,16 +3540,6 @@ function drupal_load_stylesheet_content(
 }
 
 /**
- * Helper for drupal_load_stylesheet_content().
- */
-function _drupal_load_stylesheet_content($matches) {
-  // Discard the full match.
-  unset($matches[0]);
-  // Use the non-empty match.
-  return current(array_filter($matches));
-}
-
-/**
  * Loads stylesheets recursively and returns contents with corrected paths.
  *
  * This function is used for recursive loading of stylesheets and
