Index: wp-includes/class-wp-image-editor-imagick.php
===================================================================
--- wp-includes/class-wp-image-editor-imagick.php	(revision 22325)
+++ wp-includes/class-wp-image-editor-imagick.php	(working copy)
@@ -150,7 +150,7 @@
 		$imagick_extension = strtoupper( self::get_extension( $mime_type ) );
 
 		try {
-			return ( (bool) Imagick::queryFormats( $imagick_extension ) );
+			return ( (bool) $this->image->queryFormats( $imagick_extension ) );
 		}
 		catch ( Exception $e ) {
 			return false;
@@ -407,4 +407,4 @@
 
 		return true;
 	}
-}
\ No newline at end of file
+}
